diff --git a/src/store/modules/HardwareStatus/PcieTopologyStore.js b/src/store/modules/HardwareStatus/PcieTopologyStore.js index cc4e8cd351..055326aefb 100644 --- a/src/store/modules/HardwareStatus/PcieTopologyStore.js +++ b/src/store/modules/HardwareStatus/PcieTopologyStore.js @@ -852,10 +852,11 @@ const PcieTopologyStore = { if ( cable.detailedInfo.grandParentInfo.data?.Links ?.PCIeDevices[0]['@odata.id'] === - expanderSlot.Links?.PCIeDevice[0]['@odata.id'] + expanderSlot?.data?.Links?.PCIeDevice[0]['@odata.id'] ) { row['linkType'] = 'Secondary'; - row['parentLinkId'] = expanderSlot.Oem?.IBM?.LinkId; + row['parentLinkId'] = + expanderSlot?.data?.Oem?.IBM?.LinkId; break; } } @@ -880,12 +881,12 @@ const PcieTopologyStore = { if ( cable.detailedInfo.grandParentInfo.data.Links ?.PCIeDevices[0]['@odata.id'] === - expanderSlot.Links?.PCIeDevice[0]['@odata.id'] + expanderSlot?.data?.Links?.PCIeDevice[0]['@odata.id'] ) { row['linkType'] = 'Secondary'; if ( - expanderSlot?.Links?.Processors && - expanderSlot?.Links?.Processors.length > 0 + expanderSlot?.data?.Links?.Processors && + expanderSlot?.data?.Links?.Processors.length > 0 ) { procMembers.map((proc) => { if ( @@ -902,7 +903,8 @@ const PcieTopologyStore = { } }); } - row['parentLinkId'] = expanderSlot.Oem?.IBM?.LinkId; + row['parentLinkId'] = + expanderSlot?.data?.Oem?.IBM?.LinkId; break; } }