Updated Dumps card in overview page
- The Dumps count in the overview page is not displaying the count of
all
the entries. Updated to display count of all entries.
- The registration of Dumps store is in multiple locations,
store -> index.js and env -> store -> ibm.js.
Causing error in IBM machines because of duplicate
registration.
Removed from env folder.
Change-Id: Idc57a85db090d1b1d3211c01e658b181a7fc1177
Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com>
diff --git a/src/env/store/ibm.js b/src/env/store/ibm.js
index 86fc52d..4383948 100644
--- a/src/env/store/ibm.js
+++ b/src/env/store/ibm.js
@@ -1,11 +1,8 @@
import store from '@/store';
-import DumpsStore from '@/store/modules/Logs/DumpsStore';
import KeyClearStore from '@/store/modules/Operations/KeyClearStore';
store.unregisterModule('virtualMedia');
-store.registerModule('dumps', DumpsStore);
-
store.registerModule('key-clear', KeyClearStore);
export default store;
diff --git a/src/views/Overview/OverviewDumps.vue b/src/views/Overview/OverviewDumps.vue
index a2ae4e4..6db5d28 100644
--- a/src/views/Overview/OverviewDumps.vue
+++ b/src/views/Overview/OverviewDumps.vue
@@ -34,7 +34,7 @@
},
},
created() {
- this.$store.dispatch('dumps/getBmcDumpEntries').finally(() => {
+ this.$store.dispatch('dumps/getAllDumps').finally(() => {
this.$root.$emit('overview-dumps-complete');
});
},