commit: 169d13680a72029cab71067abffbb4581cdb6b41
parent 4d15cbcbbd4b47fb37704f1408e5b8e6d9840758
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Sun, 10 Apr 2022 13:02:02 -0400
Fix image cropper not closing correctly
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()
}