forked from p34709852/monkey
Change icon for disabled status
This commit is contained in:
parent
e9dfd0bc54
commit
2685c50841
|
@ -7,7 +7,6 @@ import {faRadiation} from '@fortawesome/free-solid-svg-icons/faRadiation';
|
|||
import {faEye} from '@fortawesome/free-solid-svg-icons/faEye';
|
||||
import {faEyeSlash} from '@fortawesome/free-solid-svg-icons/faEyeSlash';
|
||||
import {faToggleOff} from '@fortawesome/free-solid-svg-icons/faToggleOff';
|
||||
import marked from 'marked';
|
||||
|
||||
import ReportHeader, {ReportTypes} from './common/ReportHeader';
|
||||
import {ScanStatus} from '../attack/techniques/Helpers';
|
||||
|
@ -77,10 +76,10 @@ class AttackReport extends React.Component {
|
|||
return <FontAwesomeIcon icon={faEye} className={'technique-status-icon'}/>;
|
||||
case ScanStatus.USED:
|
||||
return <FontAwesomeIcon icon={faRadiation} className={'technique-status-icon'}/>;
|
||||
case ScanStatus.UNSCANNED:
|
||||
return <FontAwesomeIcon icon={faEyeSlash} className={'technique-status-icon'}/>;
|
||||
case ScanStatus.DISABLED:
|
||||
return <FontAwesomeIcon icon={faToggleOff} className={'technique-status-icon'}/>;
|
||||
default:
|
||||
return <FontAwesomeIcon icon={faEyeSlash} className={'technique-status-icon'}/>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue