mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
Mark delete backup dialog as destructive (#23008)
This commit is contained in:
parent
4655929fed
commit
4df90ebbc3
@ -323,6 +323,7 @@ export class HassioBackups extends LitElement {
|
||||
number: this._selectedBackups.length,
|
||||
}),
|
||||
confirmText: this.supervisor.localize("backup.delete_backup_confirm"),
|
||||
destructive: true,
|
||||
});
|
||||
|
||||
if (!confirm) {
|
||||
|
@ -302,6 +302,7 @@ class HassioBackupDialog
|
||||
text: supervisor!.localize("backup.confirm_delete_text"),
|
||||
confirmText: supervisor!.localize("backup.delete"),
|
||||
dismissText: supervisor!.localize("backup.cancel"),
|
||||
destructive: true,
|
||||
}))
|
||||
) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user