From e1524358d9e6a6afc412d212694c3c2ce581834d Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Wed, 25 Feb 2026 08:22:40 +0100 Subject: [PATCH] Remove duplicated buttons (#29798) --- .../lovelace/editor/hui-dialog-save-config.ts | 47 +------------------ 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/src/panels/lovelace/editor/hui-dialog-save-config.ts b/src/panels/lovelace/editor/hui-dialog-save-config.ts index 9db2a6d24a..01b246c960 100644 --- a/src/panels/lovelace/editor/hui-dialog-save-config.ts +++ b/src/panels/lovelace/editor/hui-dialog-save-config.ts @@ -128,52 +128,7 @@ export class HuiSaveConfig extends LitElement implements HassDialog { ` } - ${ - this._params.mode === "storage" - ? html` - - - ${this.hass!.localize("ui.common.cancel")} - - - ${this.hass!.localize( - "ui.panel.lovelace.editor.save_config.save" - )} - - - ` - : html` -

- ${this.hass!.localize( - "ui.panel.lovelace.editor.save_config.yaml_mode" - )} -

-

- ${this.hass!.localize( - "ui.panel.lovelace.editor.save_config.yaml_control" - )} -

-

- ${this.hass!.localize( - "ui.panel.lovelace.editor.save_config.yaml_config" - )} -

- - ` - } - + ${ this._params.mode === "storage" ? html`