summaryrefslogtreecommitdiff
path: root/src/store/modules/HardwareStatus/SystemStore.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/SystemStore.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/SystemStore.js')
-rw-r--r--src/store/modules/HardwareStatus/SystemStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/HardwareStatus/SystemStore.js b/src/store/modules/HardwareStatus/SystemStore.js
index 75b645b6..a94bb14f 100644
--- a/src/store/modules/HardwareStatus/SystemStore.js
+++ b/src/store/modules/HardwareStatus/SystemStore.js
@@ -19,7 +19,7 @@ const SystemStore = {
system.health = data.Status?.Health;
system.id = data.Id;
system.locationIndicatorActive = data.LocationIndicatorActive;
- system.locationNumber = data.LocationNumber;
+ system.locationNumber = data.Location?.PartLocation?.ServiceLabel;
system.manufacturer = data.Manufacturer;
system.memorySummaryHealth = data.MemorySummary?.Status.Health;
system.memorySummaryHealthRollup =