diff --git a/ui/src/components/bulma/Drawer.vue b/ui/src/components/bulma/Drawer.vue index 3dfdf70..e4213d8 100644 --- a/ui/src/components/bulma/Drawer.vue +++ b/ui/src/components/bulma/Drawer.vue @@ -53,12 +53,12 @@ export default class extends Vue { public toggle() { this.is_open = !this.is_open; - this.refresh(); + if (this.is_open) this.$emit("open"); } public refresh() { - if (!this.is_open) return; - this.$emit("open"); + this.is_open = false; + this.toggle(); } }