mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
🐛 Fix UpdatedPanel not closing (#2563)
This commit is contained in:
@@ -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');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user