From bfa24e7e2e97984d82facde53e2d0e25371d18c4 Mon Sep 17 00:00:00 2001 From: Adam Kapos Date: Fri, 3 May 2024 00:11:17 +0300 Subject: [PATCH] Reorder --- .../editor/view-editor/hui-view-background-editor.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts index 87d02d2399e4..626c9b8efffb 100644 --- a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts +++ b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts @@ -18,14 +18,14 @@ const cropOptions: CropOptions = { @customElement("hui-view-background-editor") export class HuiViewBackgroundEditor extends LitElement { - @property({ attribute: false }) public hass!: HomeAssistant; - - @state() private _config!: LovelaceViewConfig; - set config(config: LovelaceViewConfig) { this._config = config; } + @property({ attribute: false }) public hass!: HomeAssistant; + + @state() private _config!: LovelaceViewConfig; + protected render() { if (!this.hass) { return nothing;