initial admin settings prototype (WIP)

This commit is contained in:
Henry Jameson 2023-03-14 21:50:43 +02:00
commit 4d23d31fec
25 changed files with 760 additions and 31 deletions

View file

@ -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]