summaryrefslogtreecommitdiff
path: root/src/store/modules/HardwareStatus/ChassisStore.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/ChassisStore.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/ChassisStore.js')
-rw-r--r--src/store/modules/HardwareStatus/ChassisStore.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/store/modules/HardwareStatus/ChassisStore.js b/src/store/modules/HardwareStatus/ChassisStore.js
index b5edef56..8a08e370 100644
--- a/src/store/modules/HardwareStatus/ChassisStore.js
+++ b/src/store/modules/HardwareStatus/ChassisStore.js
@@ -25,6 +25,7 @@ const ChassisStore = {
MaxPowerWatts,
MinPowerWatts,
Name,
+ Location,
} = chassis;
return {
@@ -43,6 +44,7 @@ const ChassisStore = {
name: Name,
identifyLed: LocationIndicatorActive,
uri: chassis['@odata.id'],
+ locationNumber: Location?.PartLocation?.ServiceLabel,
};
});
},