From 37d094c623c292605442cdbfd74930e785d29820 Mon Sep 17 00:00:00 2001
From: wangjue <jue.wang2@luxshare-ict.com>
Date: Tue, 24 Dec 2024 17:02:46 +0800
Subject: [PATCH] Sync webui sensor status with ipmi

Signed-off-by: wangjue <jue.wang2@luxshare-ict.com>
---
 src/views/HardwareStatus/Sensors/Sensors.vue | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/views/HardwareStatus/Sensors/Sensors.vue b/src/views/HardwareStatus/Sensors/Sensors.vue
index c4663a9..038e5a4 100644
--- a/src/views/HardwareStatus/Sensors/Sensors.vue
+++ b/src/views/HardwareStatus/Sensors/Sensors.vue
@@ -196,11 +196,14 @@ export default {
         {
           key: 'status',
           label: this.$t('pageSensors.table.status'),
-          values: [
-            this.$t('global.action.ok'),
-            this.$t('global.action.warning'),
-            this.$t('global.action.critical'),
-          ],
+          values: ['OK', 'Warning', 'Critical', 'NonRecoverable', 'ns'],
+          valueLabel: {
+            OK: this.$t('global.action.ok'),
+            Warning: this.$t('global.action.warning'),
+            Critical: this.$t('global.action.critical'),
+            NonRecoverable: this.$t('global.action.NonRecoverable'),
+            ns: 'ns',
+          },
         },
       ],
       activeFilters: [],
-- 
2.34.1

