We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f19be2f commit 16719dbCopy full SHA for 16719db
ui/src/components/layout/QDrawer.js
@@ -88,7 +88,7 @@ export default Vue.extend({
88
belowBreakpoint,
89
showing: this.showIfAbove === true && belowBreakpoint === false
90
? true
91
- : this.value
+ : this.value === true
92
}
93
},
94
@@ -537,12 +537,8 @@ export default Vue.extend({
537
this.$emit('mini-state', this.isMini)
538
539
const fn = () => {
540
- if (this.showing === true) {
541
- this.__show(false, true)
542
- }
543
- else {
544
- this.__hide(false, true)
545
+ const action = this.showing === true ? 'show' : 'hide'
+ this[`__${action}`](false, true)
546
547
548
if (this.layout.width !== 0) {
0 commit comments