commit: c2a4051d72683759344c5de4dcb8d6178198e427
parent 4d15cbcbbd4b47fb37704f1408e5b8e6d9840758
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Sun, 10 Apr 2022 17:40:52 +0000
Merge branch 'from/develop/tusooa/cropper-close' into 'develop'
Fix image cropper not closing correctly
See merge request pleroma/pleroma-fe!1512
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/image_cropper/image_cropper.js b/src/components/image_cropper/image_cropper.js
@@ -66,7 +66,7 @@ const ImageCropper = {
}
},
methods: {
- unmounted () {
+ destroy () {
if (this.cropper) {
this.cropper.destroy()
}