Fix cancel button in section edit (#21045)

This commit is contained in:
karwosts
2024-06-09 05:54:38 -07:00
committed by GitHub
parent 09969c0e2d
commit f4e24bed2e

View File

@@ -205,7 +205,7 @@ export class HuiDialogEditSection
: nothing}
</ha-dialog-header>
${content}
<ha-button slot="secondaryAction">
<ha-button slot="secondaryAction" @click=${this._cancel}>
${this.hass!.localize("ui.common.cancel")}
</ha-button>