diff --git a/src/components/ha-sidebar.ts b/src/components/ha-sidebar.ts index 028fe8defd..3266046064 100644 --- a/src/components/ha-sidebar.ts +++ b/src/components/ha-sidebar.ts @@ -159,8 +159,6 @@ const computePanels = memoizeOne( let Sortable; -let sortStyles: CSSResult; - @customElement("ha-sidebar") class HaSidebar extends LitElement { @property({ attribute: false }) public hass!: HomeAssistant; @@ -171,12 +169,12 @@ class HaSidebar extends LitElement { @property({ type: Boolean, reflect: true }) public expanded = false; + @property({ type: Boolean }) public editMode = false; + @internalProperty() private _externalConfig?: ExternalConfig; @internalProperty() private _notifications?: PersistentNotification[]; - @internalProperty() private _editMode = false; - // property used only in css // @ts-ignore @property({ type: Boolean, reflect: true }) public rtl = false; @@ -227,19 +225,12 @@ class HaSidebar extends LitElement { } return html` - ${this._editMode - ? html` - - ` - : ""}