1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-15 07:25:54 +00:00

Fix areas cannot be deleted (#29285)

This commit is contained in:
karwosts
2026-01-30 06:01:31 -08:00
committed by GitHub
parent a7f9b93018
commit 62f7a2eea1

View File

@@ -82,7 +82,7 @@ class DialogAreaDetail
@state() private _params?: AreaRegistryDetailDialogParams;
@state() private _submitting?: boolean;
@state() private _submitting = false;
@state() private _open = false;
@@ -378,7 +378,7 @@ class DialogAreaDetail
<ha-button
slot="primaryAction"
@click=${this._updateEntry}
.disabled=${nameInvalid || !!this._submitting}
.disabled=${nameInvalid || this._submitting}
>
${entry
? this.hass.localize("ui.common.save")