From 2aac4d331c88a5b8b1e51749fc00a2a5d1ee3751 Mon Sep 17 00:00:00 2001
From: SurenNeware <sneware9@in.ibm.com>
Date: Tue, 24 Nov 2020 16:32:14 +0530
Subject: Update indicator LED switch using another property

- Update indicator LED redfish endpoint based on 'LocationIndicatorActive' property.
- Updated both ServerLED and Overview page.

Signed-off-by: Suren Neware <sneware9@in.ibm.com>
Change-Id: Id47133e4834b658d49911be87d93f7985519a6d2
---
 src/views/Overview/OverviewQuickLinks.vue | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/views/Overview/OverviewQuickLinks.vue')

diff --git a/src/views/Overview/OverviewQuickLinks.vue b/src/views/Overview/OverviewQuickLinks.vue
index 1330ca5e..207478ac 100644
--- a/src/views/Overview/OverviewQuickLinks.vue
+++ b/src/views/Overview/OverviewQuickLinks.vue
@@ -18,11 +18,9 @@
             data-test-id="overviewQuickLinks-checkbox-serverLed"
             name="check-button"
             switch
-            value="Lit"
-            unchecked-value="Off"
             @change="onChangeServerLed"
           >
-            <span v-if="serverLedChecked !== 'Off'">
+            <span v-if="serverLedChecked">
               {{ $t('global.status.on') }}
             </span>
             <span v-else>{{ $t('global.status.off') }}</span>
-- 
cgit v1.2.3

