Skip to content

Commit

Permalink
fix(settigs): removed mobile redirect to profile in modal settings wh…
Browse files Browse the repository at this point in the history
…en asking for file consent
  • Loading branch information
vimercati-samir committed May 19, 2022
1 parent 47465d3 commit 93b6c53
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions components/views/settings/modal/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ export default Vue.extend({
},
},
watch: {
'ui.showSettings': {
handler(newSValue) {
if (newSValue && this.$device.isMobile) {
setTimeout(() => {
this.changeRoute('profile')
}, 100)
}
},
deep: true,
immediate: true,
},
'ui.settingsRoute'(val) {
this.$store.commit('ui/toggleModal', {
name: ModalWindows.CROP,
Expand All @@ -55,7 +44,7 @@ export default Vue.extend({
},
},
mounted() {
this.showSidebar(false)
this.showSidebar(this.$device.isMobile)
},
methods: {
/**
Expand Down

0 comments on commit 93b6c53

Please sign in to comment.