thresholdStatusMapping bugfix

pull/620/head
Niklas 1 year ago
parent 1a94453849
commit 3f79a2fdda

@ -21,8 +21,8 @@ export default function Component({ service }) {
const thresholdStatusMapping = new Map([
[DeviceStatusThreshold.smart, DeviceStatus.failed_smart],
[DeviceStatusThreshold.scrutiny, DeviceStatus.scrutiny],
[DeviceStatusThreshold.both, DeviceStatusThreshold.both]
[DeviceStatusThreshold.scrutiny, DeviceStatus.failed_scrutiny],
[DeviceStatusThreshold.both, DeviceStatus.both]
])
const { widget } = service;

Loading…
Cancel
Save