diff --git a/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts b/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts old mode 100644 new mode 100755 index 68fdda58ae..ab23793448 --- a/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts +++ b/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts @@ -117,16 +117,20 @@ export class HuiDialogEditCard extends LitElement { ${this.hass!.localize("ui.common.cancel")} - - ${this._saving - ? html` - - ` - : this.hass!.localize("ui.common.save")} - + ${this._cardConfig !== undefined + ? html` + + ${this._saving + ? html` + + ` + : this.hass!.localize("ui.common.save")} + + ` + : ``} `;