Skip to content

Commit b2ec4b7

Browse files
authored
Fix backup download and delete actions (#27851)
1 parent b4c83d7 commit b2ec4b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/panels/config/backup/ha-config-backup-backups.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -569,15 +569,15 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
569569
navigate(`/config/backup/details/${id}`);
570570
}
571571

572-
private async _downloadBackup(ev): Promise<void> {
572+
private _downloadBackup = async (ev): Promise<void> => {
573573
const backup = ev.parentElement.anchorElement.backup;
574574
if (!backup) {
575575
return;
576576
}
577577
downloadBackup(this.hass, this, backup, this.config);
578-
}
578+
};
579579

580-
private async _deleteBackup(ev): Promise<void> {
580+
private _deleteBackup = async (ev): Promise<void> => {
581581
const backup = ev.parentElement.anchorElement.backup;
582582
if (!backup) {
583583
return;
@@ -609,7 +609,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
609609
return;
610610
}
611611
fireEvent(this, "ha-refresh-backup-info");
612-
}
612+
};
613613

614614
private async _deleteSelected() {
615615
const confirm = await showConfirmationDialog(this, {

0 commit comments

Comments
 (0)