mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +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,
|
number: this._selectedBackups.length,
|
||||||
}),
|
}),
|
||||||
confirmText: this.supervisor.localize("backup.delete_backup_confirm"),
|
confirmText: this.supervisor.localize("backup.delete_backup_confirm"),
|
||||||
|
destructive: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!confirm) {
|
if (!confirm) {
|
||||||
|
@ -302,6 +302,7 @@ class HassioBackupDialog
|
|||||||
text: supervisor!.localize("backup.confirm_delete_text"),
|
text: supervisor!.localize("backup.confirm_delete_text"),
|
||||||
confirmText: supervisor!.localize("backup.delete"),
|
confirmText: supervisor!.localize("backup.delete"),
|
||||||
dismissText: supervisor!.localize("backup.cancel"),
|
dismissText: supervisor!.localize("backup.cancel"),
|
||||||
|
destructive: true,
|
||||||
}))
|
}))
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user