less spam of events, fix nesting headers (again)

This commit is contained in:
Henry Jameson 2025-11-20 21:54:52 +02:00
commit 63535b1494
2 changed files with 28 additions and 14 deletions

View file

@ -96,15 +96,18 @@ const SettingsModalContent = {
useInterfaceStore().clearSettingsModalTargetTab()
},
nestedTooBig () {
this.navCollapsed = false
this.$refs.tabSwitcher.showNav()
if (this.navCollapsed) {
this.navCollapsed = false
this.$refs.tabSwitcher.showNav()
}
},
nestedTooSmall () {
this.navCollapsed = true
this.$refs.tabSwitcher.hideNav()
if (!this.navCollapsed) {
this.navCollapsed = true
this.$refs.tabSwitcher.hideNav()
}
},
nestedNavSide (side) {
console.log('SWITCH')
this.navHideHeader = side === 'content'
}
},