mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Fix download unencrypted backup logic (#24045)
This commit is contained in:
parent
716cd19d41
commit
37ac796c8f
@ -37,6 +37,7 @@ export const downloadBackup = async (
|
|||||||
|
|
||||||
if (!isProtected) {
|
if (!isProtected) {
|
||||||
downloadBackupFile(hass, backup.backup_id, preferedAgent);
|
downloadBackupFile(hass, backup.backup_id, preferedAgent);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const encryptionKey = backupConfig?.create_backup?.password;
|
const encryptionKey = backupConfig?.create_backup?.password;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user