diff --git a/src/store/modules/Logs/DumpsStore.js b/src/store/modules/Logs/DumpsStore.js index b87528f26b..95a5d98b85 100644 --- a/src/store/modules/Logs/DumpsStore.js +++ b/src/store/modules/Logs/DumpsStore.js @@ -15,7 +15,22 @@ const DumpsStore = { state.allDumps = dumps.map((dump) => ({ data: dump.AdditionalDataURI, dateTime: new Date(dump.Created), - dumpType: dump.Name, + dumpType: + dump.Name === 'System Dump Entry' + ? dump.Id.startsWith('0') + ? 'Hardware Dump Entry' + : dump.Id.startsWith('2') + ? 'Hostboot Dump Entry' + : dump.Id.startsWith('3') + ? 'SBE Dump Entry' + : dump.Id.startsWith('4') + ? 'OCMB SBE Dump Entry' + : dump.Id.startsWith('A') + ? 'System Dump Entry' + : dump.Id.startsWith('B') + ? 'Resource Dump Entry' + : dump.Name + : dump.Name, id: dump.Id, location: dump['@odata.id'], size: dump.AdditionalDataSizeBytes, diff --git a/src/views/Logs/Dumps/Dumps.vue b/src/views/Logs/Dumps/Dumps.vue index 94ed64e847..80646feea9 100644 --- a/src/views/Logs/Dumps/Dumps.vue +++ b/src/views/Logs/Dumps/Dumps.vue @@ -265,10 +265,13 @@ export default { key: 'dumpType', label: this.$t('pageDumps.table.dumpType'), values: [ - this.$t('pageDumps.table.filter.bmcDumpEntry'), - this.$t('pageDumps.table.filter.hostbootDumpEntry'), - this.$t('pageDumps.table.filter.resourceDumpEntry'), - this.$t('pageDumps.table.filter.systemDumpEntry'), + 'BMC Dump Entry', + 'Hardware Dump Entry', + 'Hostboot Dump Entry', + 'SBE Dump Entry', + 'OCMB SBE Dump Entry', + 'Resource Dump Entry', + 'System Dump Entry', ], }, ],