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/ChassisStore.js b/src/store/modules/HardwareStatus/ChassisStore.js
index b5edef5..8a08e37 100644
--- a/src/store/modules/HardwareStatus/ChassisStore.js
+++ b/src/store/modules/HardwareStatus/ChassisStore.js
@@ -25,6 +25,7 @@
           MaxPowerWatts,
           MinPowerWatts,
           Name,
+          Location,
         } = chassis;
 
         return {
@@ -43,6 +44,7 @@
           name: Name,
           identifyLed: LocationIndicatorActive,
           uri: chassis['@odata.id'],
+          locationNumber: Location?.PartLocation?.ServiceLabel,
         };
       });
     },