mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-25 00:00:00 +08:00
Removing the selected image and clearing the dropdzone on dialog close.
Towards #741 Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
@ -43,6 +43,8 @@ const methods = {
|
||||
|
||||
hide() {
|
||||
this.showing = false;
|
||||
this.selectedImage = false;
|
||||
this.$refs.dropzone.onClose();
|
||||
this.$el.children[0].components.overlay.hide();
|
||||
},
|
||||
|
||||
@ -175,4 +177,4 @@ module.exports = {
|
||||
data,
|
||||
computed,
|
||||
components: {dropzone},
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user