mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
🐛 Fix UpdatedPanel not closing (#2563)
This commit is contained in:
parent
6a2d970ea8
commit
11c49b9327
|
@ -3,7 +3,7 @@
|
||||||
:direction="direction"
|
:direction="direction"
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
:size="width"
|
:size="width"
|
||||||
:before-close="beforeClose"
|
:before-close="close"
|
||||||
:modal="modal"
|
:modal="modal"
|
||||||
:wrapperClosable="wrapperClosable"
|
:wrapperClosable="wrapperClosable"
|
||||||
>
|
>
|
||||||
|
@ -81,6 +81,10 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
if (this.beforeClose) {
|
||||||
|
this.beforeClose();
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.$store.commit('ui/closeTopModal');
|
this.$store.commit('ui/closeTopModal');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue