mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +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() {
|
||||
super.connectedCallback();
|
||||
this._shouldBeDestroy = false;
|
||||
if (this.hasUpdated) {
|
||||
if (this.hasUpdated && !this.disabled) {
|
||||
this._createSortable();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user