From bbf896c2ae84fc07c399c918c1c1f3f733cf6e19 Mon Sep 17 00:00:00 2001
From: SurenNeware <sneware9@in.ibm.com>
Date: Wed, 27 Jan 2021 21:50:22 +0530
Subject: Change system indicatorLED property

- Changed system IndicatorLED property to use LocationIndicatorActive
  and updated SystemStore for same.

Signed-off-by: Suren Neware <sneware9@in.ibm.com>
Change-Id: I0083034b7a8993074262a1e2b60c5829f8519dbe
---
 src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue')

diff --git a/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue b/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
index d4087016..fa083a01 100644
--- a/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
+++ b/src/views/Health/HardwareStatus/HardwareStatusTableStystem.vue
@@ -43,7 +43,13 @@
                 <br />
                 <!-- Indicator LED -->
                 <dt>{{ $t('pageHardwareStatus.table.indicatorLed') }}:</dt>
-                <dd>{{ tableFormatter(item.indicatorLed) }}</dd>
+                <dd v-if="item.locationIndicatorActive === true">
+                  {{ $t('global.status.on') }}
+                </dd>
+                <dd v-else-if="item.locationIndicatorActive === false">
+                  {{ $t('global.status.off') }}
+                </dd>
+                <dd v-else>--</dd>
                 <br />
                 <!-- Model -->
                 <dt>{{ $t('pageHardwareStatus.table.model') }}:</dt>
-- 
cgit v1.2.3

