Update image-cropper-dialog.ts

This commit is contained in:
Bram Kragten 2021-11-10 22:55:05 +01:00
parent 4cb45d6313
commit d04823b4c5
No known key found for this signature in database
GPG Key ID: FBE2DFDB363EF55B

View File

@ -39,6 +39,7 @@ export class HaImagecropperDialog extends LitElement {
this._open = false;
this._params = undefined;
this._cropper?.destroy();
this._cropper = undefined;
}
protected updated(changedProperties: PropertyValues) {