fix: incorrect status icons and counters caused by undefined !== null
This commit is contained in:
1 parent
19852f15f7
commit
da4bfb888d
2 files changed
+2
-2
No files matched your search
@@ -29,7 +29,7 @@ export default function MonitorDetail({
|
||||
)
|
||||
|
||||
let statusIcon =
|
||||
state.incident[monitor.id].slice(-1)[0].end === undefined ? (
|
||||
state.incident[monitor.id].slice(-1)[0].end === null ? (
|
||||
<IconAlertCircle
|
||||
style={{ width: '1.25em', height: '1.25em', color: '#b91c1c', marginRight: '3px' }}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user