From 210b12760d2c4020387e132c759ec2ae9b5f5490 Mon Sep 17 00:00:00 2001 From: Kees Trommel Date: Wed, 26 Jun 2024 13:10:50 +0200 Subject: [PATCH] Wrong store function used in Dump.vue 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 --- src/views/Logs/Dumps/Dumps.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Logs/Dumps/Dumps.vue b/src/views/Logs/Dumps/Dumps.vue index 75873a8c69..e89acd9338 100644 --- a/src/views/Logs/Dumps/Dumps.vue +++ b/src/views/Logs/Dumps/Dumps.vue @@ -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; });