Skip to content

Commit

Permalink
Mark reset addon options dialog as destructive (#23009)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede authored Nov 26, 2024
1 parent 4df90eb commit adb22ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hassio/src/addon-view/config/hassio-addon-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ class HassioAddonConfig extends LitElement {
text: this.supervisor.localize("confirm.reset_options.text"),
confirmText: this.supervisor.localize("common.reset_options"),
dismissText: this.supervisor.localize("common.cancel"),
destructive: true,
});

if (!confirmed) {
Expand Down

0 comments on commit adb22ab

Please sign in to comment.