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:
parent
b6e220a4c5
commit
2af3400464
|
@ -82,6 +82,9 @@ export class HaSortable extends LitElement {
|
|||
public connectedCallback() {
|
||||
super.connectedCallback();
|
||||
this._shouldBeDestroy = false;
|
||||
if (this.hasUpdated) {
|
||||
this.requestUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
protected createRenderRoot() {
|
||||
|
|
Loading…
Reference in New Issue