mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Add location to backups table (#16813)
This commit is contained in:
parent
d0641d64bd
commit
3be601a3b9
@ -136,6 +136,15 @@ export class HassioBackups extends LitElement {
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
template: (entry: number) => Math.ceil(entry * 10) / 10 + " MB",
|
template: (entry: number) => Math.ceil(entry * 10) / 10 + " MB",
|
||||||
},
|
},
|
||||||
|
location: {
|
||||||
|
title: this.supervisor.localize("backup.location"),
|
||||||
|
width: "15%",
|
||||||
|
hidden: narrow,
|
||||||
|
filterable: true,
|
||||||
|
sortable: true,
|
||||||
|
template: (entry: string | null) =>
|
||||||
|
entry || this.supervisor.localize("backup.data_disk"),
|
||||||
|
},
|
||||||
date: {
|
date: {
|
||||||
title: this.supervisor.localize("backup.created"),
|
title: this.supervisor.localize("backup.created"),
|
||||||
width: "15%",
|
width: "15%",
|
||||||
|
@ -23,6 +23,7 @@ export interface HassioBackup {
|
|||||||
size: number;
|
size: number;
|
||||||
type: "full" | "partial";
|
type: "full" | "partial";
|
||||||
protected: boolean;
|
protected: boolean;
|
||||||
|
location: string | null;
|
||||||
content: BackupContent;
|
content: BackupContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5824,6 +5824,8 @@
|
|||||||
"download_backup": "Download backup",
|
"download_backup": "Download backup",
|
||||||
"create_backup": "Create backup",
|
"create_backup": "Create backup",
|
||||||
"create": "Create",
|
"create": "Create",
|
||||||
|
"location": "Location",
|
||||||
|
"data_disk": "Data disk",
|
||||||
"created": "Created",
|
"created": "Created",
|
||||||
"name": "Backup name",
|
"name": "Backup name",
|
||||||
"type": "Backup type",
|
"type": "Backup type",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user