small refactoring to uncouple tab-switcher from settings modal

This commit is contained in:
Henry Jameson 2021-04-18 15:39:06 +03:00
commit 33777fab47
3 changed files with 14 additions and 4 deletions

View file

@ -53,6 +53,9 @@ const SettingsModalContent = {
},
open () {
return this.$store.state.interface.settingsModalState !== 'hidden'
},
bodyLock () {
return this.$store.state.interface.settingsModalState === 'visible'
}
},
methods: {