fix order of expansion, WIP hiding headers

This commit is contained in:
Henry Jameson 2025-11-20 20:10:20 +02:00
commit 7d1799e929
6 changed files with 47 additions and 7 deletions

View file

@ -136,6 +136,15 @@ const GeneralTab = {
this.$store.dispatch('settingsSaved', { error })
})
},
tooSmall () {
this.$emit('tooSmall')
},
tooBig () {
this.$emit('tooBig')
},
getNavMode () {
return this.$refs.tabSwitcher.getNavMode()
},
clearAssetCache () {
this.clearCache(cacheKey)
},

View file

@ -4,8 +4,8 @@
ref="tabSwitcher"
class="settings_tab-switcher"
:parent-collapsed="parentCollapsed"
@too-small="() => $emit('tooSmall')"
@too-big="() => $emit('tooBig')"
@too-small="tooSmall"
@too-big="tooBig"
>
<div
:label="$t('settings.behavior')"