Fix section editing after disconnect/reconnect (#19917)

* Fix section editing after disconnect/reconnect

* Update src/components/ha-sortable.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Paul Bottein
2024-02-29 15:12:19 +01:00
committed by GitHub
parent b6e220a4c5
commit 2af3400464

View File

@@ -82,6 +82,9 @@ export class HaSortable extends LitElement {
public connectedCallback() {
super.connectedCallback();
this._shouldBeDestroy = false;
if (this.hasUpdated) {
this.requestUpdate();
}
}
protected createRenderRoot() {