Skip to content

Commit

Permalink
Updated Dumps card in overview page
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
Nikhil-Ashoka committed Sep 24, 2024
1 parent ccf5c5c commit f4e7973
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/env/store/ibm.js
Original file line number Diff line number Diff line change
@@ -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;
2 changes: 1 addition & 1 deletion src/views/Overview/OverviewDumps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
},
},
created() {
this.$store.dispatch('dumps/getBmcDumpEntries').finally(() => {
this.$store.dispatch('dumps/getAllDumps').finally(() => {
this.$root.$emit('overview-dumps-complete');
});
},
Expand Down

0 comments on commit f4e7973

Please sign in to comment.