mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Only create sortable when not disabled (#20565)
This commit is contained in:
parent
697bbf428e
commit
f39758b103
@ -82,7 +82,7 @@ export class HaSortable extends LitElement {
|
|||||||
public connectedCallback() {
|
public connectedCallback() {
|
||||||
super.connectedCallback();
|
super.connectedCallback();
|
||||||
this._shouldBeDestroy = false;
|
this._shouldBeDestroy = false;
|
||||||
if (this.hasUpdated) {
|
if (this.hasUpdated && !this.disabled) {
|
||||||
this._createSortable();
|
this._createSortable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user