mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 03:19:44 +00:00
Only create sortable when not disabled (#20565)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user