File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
src/store/modules/HardwareStatus Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -852,10 +852,11 @@ const PcieTopologyStore = {
852852 if (
853853 cable . detailedInfo . grandParentInfo . data ?. Links
854854 ?. PCIeDevices [ 0 ] [ '@odata.id' ] ===
855- expanderSlot . Links ?. PCIeDevice [ 0 ] [ '@odata.id' ]
855+ expanderSlot ?. data ? .Links ?. PCIeDevice [ 0 ] [ '@odata.id' ]
856856 ) {
857857 row [ 'linkType' ] = 'Secondary' ;
858- row [ 'parentLinkId' ] = expanderSlot . Oem ?. IBM ?. LinkId ;
858+ row [ 'parentLinkId' ] =
859+ expanderSlot ?. data ?. Oem ?. IBM ?. LinkId ;
859860 break ;
860861 }
861862 }
@@ -880,12 +881,12 @@ const PcieTopologyStore = {
880881 if (
881882 cable . detailedInfo . grandParentInfo . data . Links
882883 ?. PCIeDevices [ 0 ] [ '@odata.id' ] ===
883- expanderSlot . Links ?. PCIeDevice [ 0 ] [ '@odata.id' ]
884+ expanderSlot ?. data ? .Links ?. PCIeDevice [ 0 ] [ '@odata.id' ]
884885 ) {
885886 row [ 'linkType' ] = 'Secondary' ;
886887 if (
887- expanderSlot ?. Links ?. Processors &&
888- expanderSlot ?. Links ?. Processors . length > 0
888+ expanderSlot ?. data ?. Links ?. Processors &&
889+ expanderSlot ?. data ?. Links ?. Processors . length > 0
889890 ) {
890891 procMembers . map ( ( proc ) => {
891892 if (
@@ -902,7 +903,8 @@ const PcieTopologyStore = {
902903 }
903904 } ) ;
904905 }
905- row [ 'parentLinkId' ] = expanderSlot . Oem ?. IBM ?. LinkId ;
906+ row [ 'parentLinkId' ] =
907+ expanderSlot ?. data ?. Oem ?. IBM ?. LinkId ;
906908 break ;
907909 }
908910 }
You can’t perform that action at this time.
0 commit comments