mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-01 13:09:31 +01:00
thresholdStatusMapping bugfix
This commit is contained in:
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…
x
Reference in New Issue
Block a user