🐛 Fix UpdatedPanel not closing (#2563)

This commit is contained in:
Oliver Trajceski 2021-12-19 12:50:02 +01:00 committed by GitHub
parent 6a2d970ea8
commit 11c49b9327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
},
},