bfg-common 1.3.317 → 1.3.318
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
constructColumnKey,
|
|
10
10
|
} from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
|
|
11
11
|
import type { UI_I_HardwareHealthSensors } from '~/components/common/pages/hardwareHealth/tableView/lib/models/interfaces'
|
|
12
|
-
import {
|
|
12
|
+
import { E_SensorsIconByStatus } from '~/components/common/pages/hardwareHealth/tableView/lib/models/enums'
|
|
13
13
|
import { E_SensorsCategoryIcon } from '~/components/common/pages/hardwareHealth/lib/models/enums'
|
|
14
14
|
import { hardwareHealthSensorTableKeys } from '~/components/common/pages/hardwareHealth/tableView/lib/config/tableKeys'
|
|
15
15
|
|
|
@@ -82,7 +82,7 @@ export const bodyItems = (
|
|
|
82
82
|
text: sensor[hardwareHealthSensorTableKeys[1]],
|
|
83
83
|
id: key,
|
|
84
84
|
data: {
|
|
85
|
-
iconClassName:
|
|
85
|
+
iconClassName: E_SensorsIconByStatus[sensor.status],
|
|
86
86
|
isSprite: false,
|
|
87
87
|
},
|
|
88
88
|
},
|
|
@@ -4,14 +4,15 @@ interface UI_I_hardwareHealthEventEntries {
|
|
|
4
4
|
}
|
|
5
5
|
export interface UI_I_HardwareHealthSensors {
|
|
6
6
|
name: string
|
|
7
|
-
status:
|
|
7
|
+
status: 'Warning' | 'Alert' | 'Normal' | 'Unknown'
|
|
8
8
|
reading: string
|
|
9
9
|
category: string
|
|
10
10
|
lastUpdated: string
|
|
11
11
|
selEntries?: UI_I_hardwareHealthEventEntries[]
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export interface UI_I_HardwareHealthAlertWarnings
|
|
14
|
+
export interface UI_I_HardwareHealthAlertWarnings
|
|
15
|
+
extends UI_I_HardwareHealthSensors {}
|
|
15
16
|
|
|
16
17
|
export interface UI_I_HardwareHealthStorageSensor {
|
|
17
18
|
name: string
|