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