aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2023-03-14 21:50:43 +0200
committerHenry Jameson <me@hjkos.com>2023-03-14 21:50:43 +0200
commit4d23d31fecf480abfccc4db3ac79c6640078dc3b (patch)
tree545b0ffe95fe206db0cb39971a6aa8c3368b5617 /src/components/tab_switcher
parent9632b77786a9d3735f04ecf4a814311fad926ad0 (diff)
initial admin settings prototype (WIP)
Diffstat (limited to 'src/components/tab_switcher')
-rw-r--r--src/components/tab_switcher/tab_switcher.jsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/components/tab_switcher/tab_switcher.jsx b/src/components/tab_switcher/tab_switcher.jsx
index a7ef8560..b444da43 100644
--- a/src/components/tab_switcher/tab_switcher.jsx
+++ b/src/components/tab_switcher/tab_switcher.jsx
@@ -60,13 +60,7 @@ export default {
const isWanted = slot => slot.props && slot.props['data-tab-name'] === tabName
return this.$slots.default().findIndex(isWanted) === this.activeIndex
}
- },
- settingsModalVisible () {
- return this.settingsModalState === 'visible'
- },
- ...mapState({
- settingsModalState: state => state.interface.settingsModalState
- })
+ }
},
beforeUpdate () {
const currentSlot = this.slots()[this.active]