Skip to content

Commit

Permalink
fix(settings): remove active route default on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmcg committed Jun 20, 2022
1 parent 5ddc4b2 commit 57d135d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/interactables/AsideMenu/AsideMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ export default Vue.extend({
default: () => () => {},
},
},
mounted() {
if (this.$device.isMobile) {
this.$store.commit('ui/setSettingsRoute', '')
}
},
methods: {
/**
* @method closeModal DocsTODO
Expand Down

0 comments on commit 57d135d

Please sign in to comment.