Skip to content

Commit

Permalink
Fix bugs in the data resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
VilppeRiskidev committed Sep 24, 2024
1 parent f7ca8c1 commit 63e3786
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/pages/Profiles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ export default class Profiles extends ProfilesMixin {
await settings.load();
await this.$store.commit('modFilters/reset');
await this.$store.commit('tsMods/reset');
await this.$store.commit('profile/reset');
const lastProfileName = await this.$store.dispatch('profile/loadLastSelectedProfile');
Expand Down
1 change: 0 additions & 1 deletion src/store/modules/ProfileModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ export default {

mutations: {
reset(state: State) {
state.activeProfile = null;
state.modList = [];
state.order = undefined;
state.direction = undefined;
Expand Down

0 comments on commit 63e3786

Please sign in to comment.