summaryrefslogtreecommitdiff
path: root/src/store/modules/HardwareStatus/BmcStore.js
diff options
context:
space:
mode:
authorSneha Patel <Snehaben.Patel@ibm.com>2021-09-02 20:23:42 +0300
committerDixsie Wolmers <dixsiew@gmail.com>2021-09-15 16:38:24 +0300
commit9f61234ab2e8beea6ebe1f2e9dc445cd3521a0e4 (patch)
tree53bd70b94b43c7ccfcc8b2ecae54a426821be224 /src/store/modules/HardwareStatus/BmcStore.js
parent4928206943a094beab60f2d91ee7e9c9174b6223 (diff)
downloadwebui-vue-9f61234ab2e8beea6ebe1f2e9dc445cd3521a0e4.tar.xz
Location codes on Hardware status-Inventory and LEDs
Display location number on hardware inventory items Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: Ib5555191f21ac4546d0b2e2af5b395aaa3a5357e
Diffstat (limited to 'src/store/modules/HardwareStatus/BmcStore.js')
-rw-r--r--src/store/modules/HardwareStatus/BmcStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/HardwareStatus/BmcStore.js b/src/store/modules/HardwareStatus/BmcStore.js
index f58dc635..c042a83a 100644
--- a/src/store/modules/HardwareStatus/BmcStore.js
+++ b/src/store/modules/HardwareStatus/BmcStore.js
@@ -25,7 +25,7 @@ const BmcStore = {
bmc.id = data.Id;
bmc.lastResetTime = new Date(data.LastResetTime);
bmc.identifyLed = data.LocationIndicatorActive;
- bmc.locationNumber = data.LocationNumber;
+ bmc.locationNumber = data.Location?.PartLocation?.ServiceLabel;
bmc.manufacturer = data.manufacturer;
bmc.managerType = data.ManagerType;
bmc.model = data.Model;