aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal/settings_modal_content.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-25 12:51:45 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 12:51:45 +0300
commit180da297f628afa608b3a6ea7bb35edb02a7d7a7 (patch)
tree09a1ec7962c347ffb8eaa1cbaa19df841dd16df2 /src/components/settings_modal/settings_modal_content.js
parentb774472fff61810a7c9b8f162375bfe5087c2f55 (diff)
parent33777fab47b65975d343d219c0b1866ba6849b3f (diff)
Merge branch 'vue3compat-tabswitcher' into vue3-again
* vue3compat-tabswitcher: small refactoring to uncouple tab-switcher from settings modal fix theme tab, remove console.logs Changed some of TabSwitcher's internals for easier Vue3 migration
Diffstat (limited to 'src/components/settings_modal/settings_modal_content.js')
-rw-r--r--src/components/settings_modal/settings_modal_content.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/settings_modal/settings_modal_content.js b/src/components/settings_modal/settings_modal_content.js
index 9dcf1b5a..deb77298 100644
--- a/src/components/settings_modal/settings_modal_content.js
+++ b/src/components/settings_modal/settings_modal_content.js
@@ -1,4 +1,4 @@
-import TabSwitcher from 'src/components/tab_switcher/tab_switcher.js'
+import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
import DataImportExportTab from './tabs/data_import_export_tab.vue'
import MutesAndBlocksTab from './tabs/mutes_and_blocks_tab.vue'
@@ -53,6 +53,9 @@ const SettingsModalContent = {
},
open () {
return this.$store.state.interface.settingsModalState !== 'hidden'
+ },
+ bodyLock () {
+ return this.$store.state.interface.settingsModalState === 'visible'
}
},
methods: {