less spam of events, fix nesting headers (again)
This commit is contained in:
parent
8b8af2889b
commit
63535b1494
2 changed files with 28 additions and 14 deletions
|
|
@ -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'
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue