mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Change backup type order (#25759)
This commit is contained in:
parent
7f68447a4f
commit
8cead75087
@ -339,7 +339,7 @@ export const computeBackupSize = (backup: BackupContent) =>
|
|||||||
|
|
||||||
export type BackupType = "automatic" | "manual" | "addon_update";
|
export type BackupType = "automatic" | "manual" | "addon_update";
|
||||||
|
|
||||||
const BACKUP_TYPE_ORDER: BackupType[] = ["automatic", "manual", "addon_update"];
|
const BACKUP_TYPE_ORDER: BackupType[] = ["automatic", "addon_update", "manual"];
|
||||||
|
|
||||||
export const getBackupTypes = memoize((isHassio: boolean) =>
|
export const getBackupTypes = memoize((isHassio: boolean) =>
|
||||||
isHassio
|
isHassio
|
||||||
|
Loading…
x
Reference in New Issue
Block a user