Skip to content

Commit

Permalink
Add red delete button to delete zone confirmation dialog (#23136)
Browse files Browse the repository at this point in the history
  • Loading branch information
wendevlin authored Dec 4, 2024
1 parent f8ce7c2 commit 2c604ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/panels/config/zone/ha-config-zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ export class HaConfigZone extends SubscribeMixin(LitElement) {
title: this.hass!.localize("ui.panel.config.zone.confirm_delete"),
dismissText: this.hass!.localize("ui.common.cancel"),
confirmText: this.hass!.localize("ui.common.delete"),
destructive: true,
}))
) {
return false;
Expand Down

0 comments on commit 2c604ff

Please sign in to comment.