Merge branch 'from/develop/tusooa/cropper-close' into 'develop'

Fix image cropper not closing correctly

See merge request pleroma/pleroma-fe!1512
This commit is contained in:
HJ 2022-04-10 17:40:52 +00:00
commit c2a4051d72

View file

@ -66,7 +66,7 @@ const ImageCropper = {
}
},
methods: {
unmounted () {
destroy () {
if (this.cropper) {
this.cropper.destroy()
}