diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js index 5c24ba7a7..f28e25601 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js @@ -63,10 +63,10 @@ class AttackReport extends React.Component { return 'collapse-warning'; case ScanStatus.USED: return 'collapse-danger'; - case ScanStatus.UNSCANNED: - return 'collapse-unscanned'; case ScanStatus.DISABLED: return 'collapse-disabled'; + default: + return 'collapse-default'; } } @@ -76,11 +76,11 @@ class AttackReport extends React.Component { return ; case ScanStatus.USED: return ; - case ScanStatus.UNSCANNED: - return ; case ScanStatus.DISABLED: return ; - } + default: + return ; + } } renderLegend() { diff --git a/monkey/monkey_island/cc/ui/src/styles/components/Collapse.scss b/monkey/monkey_island/cc/ui/src/styles/components/Collapse.scss index 618bfb15b..63f503095 100644 --- a/monkey/monkey_island/cc/ui/src/styles/components/Collapse.scss +++ b/monkey/monkey_island/cc/ui/src/styles/components/Collapse.scss @@ -3,7 +3,7 @@ $transition: 300ms cubic-bezier(0.6, 0.3, 0.3, 0.6); $danger-color: #ebbcba; $disabled-color: #b7c2ff; $info-color: #ade3eb; -$unscanned-color: #e0ddde; +$default-color: #e0ddde; $warning-color: #ffe28d; .collapse-item button { @@ -51,8 +51,8 @@ $warning-color: #ffe28d; background-color: $info-color !important; } -.collapse-unscanned { - background-color: $unscanned-color !important; +.collapse-default { + background-color: $default-color !important; } .collapse-disabled {