unsubscribe

This commit is contained in:
Mads Rasmussen
2022-09-27 11:06:17 +02:00
parent 58a41b3733
commit d79db801e0

View File

@@ -99,6 +99,12 @@ export class UmbPropertyEditorConfigElement extends UmbContextConsumerMixin(LitE
this._properties = [...this._propertyEditorConfigProperties, ...this._propertyEditorUIConfigProperties];
}
disconnectedCallback(): void {
super.disconnectedCallback();
this._propertyEditorConfigSubscription?.unsubscribe();
this._propertyEditorUIConfigSubscription?.unsubscribe();
}
render() {
return html`
${this._properties.length > 0