Skip to content

Commit

Permalink
Wrong store function used in Dump.vue
Browse files Browse the repository at this point in the history
In Dump.vue the "store" function getBmcDumpEntries is used but this
should be getAllDumps. This because Dump.vue wants to get all the dump
entries and not just the BCM entries.

Also the output format of getBmcDumpEntries is not what Dump.vue expects
causing that WebUI does not display any dump entry even when BCM dump
entries exists.

Note: The "dumps" path does not exist in the default
src/router/routes.js but (currently) only in src/env/router.ibm.js

Change-Id: I0c211126e1f1d0394455ea7e7ff627814674e1fa
Signed-off-by: Kees Trommel <[email protected]>
  • Loading branch information
Kees-T authored and sivaprabug committed Jul 15, 2024
1 parent 8e1ed79 commit 210b127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Logs/Dumps/Dumps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export default {
},
created() {
this.startLoader();
this.$store.dispatch('dumps/getBmcDumpEntries').finally(() => {
this.$store.dispatch('dumps/getAllDumps').finally(() => {
this.endLoader();
this.isBusy = false;
});
Expand Down

0 comments on commit 210b127

Please sign in to comment.