mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-02 13:33:40 +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([
|
const thresholdStatusMapping = new Map([
|
||||||
[DeviceStatusThreshold.smart, DeviceStatus.failed_smart],
|
[DeviceStatusThreshold.smart, DeviceStatus.failed_smart],
|
||||||
[DeviceStatusThreshold.scrutiny, DeviceStatus.scrutiny],
|
[DeviceStatusThreshold.scrutiny, DeviceStatus.failed_scrutiny],
|
||||||
[DeviceStatusThreshold.both, DeviceStatusThreshold.both]
|
[DeviceStatusThreshold.both, DeviceStatus.both]
|
||||||
])
|
])
|
||||||
|
|
||||||
const { widget } = service;
|
const { widget } = service;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user