File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,22 @@ const DumpsStore = {
1515 state . allDumps = dumps . map ( ( dump ) => ( {
1616 data : dump . AdditionalDataURI ,
1717 dateTime : new Date ( dump . Created ) ,
18- dumpType : dump . Name ,
18+ dumpType :
19+ dump . Name === 'System Dump Entry'
20+ ? dump . Id . startsWith ( '0' ) && dump . Id . length > 1
21+ ? 'Hardware Dump Entry'
22+ : dump . Id . startsWith ( '2' ) && dump . Id . length > 1
23+ ? 'Hostboot Dump Entry'
24+ : dump . Id . startsWith ( '3' ) && dump . Id . length > 1
25+ ? 'SBE Dump Entry'
26+ : dump . Id . startsWith ( '4' ) && dump . Id . length > 1
27+ ? 'OCMB SBE Dump Entry'
28+ : dump . Id . startsWith ( 'A' ) && dump . Id . length > 1
29+ ? 'System Dump Entry'
30+ : dump . Id . startsWith ( 'B' ) && dump . Id . length > 1
31+ ? 'Resource Dump Entry'
32+ : dump . Name
33+ : dump . Name ,
1934 id : dump . Id ,
2035 location : dump [ '@odata.id' ] ,
2136 size : dump . AdditionalDataSizeBytes ,
Original file line number Diff line number Diff line change @@ -265,10 +265,13 @@ export default {
265265 key: ' dumpType' ,
266266 label: this .$t (' pageDumps.table.dumpType' ),
267267 values: [
268- this .$t (' pageDumps.table.filter.bmcDumpEntry' ),
269- this .$t (' pageDumps.table.filter.hostbootDumpEntry' ),
270- this .$t (' pageDumps.table.filter.resourceDumpEntry' ),
271- this .$t (' pageDumps.table.filter.systemDumpEntry' ),
268+ ' BMC Dump Entry' ,
269+ ' Hardware Dump Entry' ,
270+ ' Hostboot Dump Entry' ,
271+ ' SBE Dump Entry' ,
272+ ' OCMB SBE Dump Entry' ,
273+ ' Resource Dump Entry' ,
274+ ' System Dump Entry' ,
272275 ],
273276 },
274277 ],
You can’t perform that action at this time.
0 commit comments