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
diff --git a/src/store/modules/HardwareStatus/SystemStore.js b/src/store/modules/HardwareStatus/SystemStore.js
index 75b645b..a94bb14 100644
--- a/src/store/modules/HardwareStatus/SystemStore.js
+++ b/src/store/modules/HardwareStatus/SystemStore.js
@@ -19,7 +19,7 @@
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 =