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,
|
||||
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: {
|
||||
title: this.supervisor.localize("backup.created"),
|
||||
width: "15%",
|
||||
|
|
|
@ -23,6 +23,7 @@ export interface HassioBackup {
|
|||
size: number;
|
||||
type: "full" | "partial";
|
||||
protected: boolean;
|
||||
location: string | null;
|
||||
content: BackupContent;
|
||||
}
|
||||
|
||||
|
|
|
@ -5824,6 +5824,8 @@
|
|||
"download_backup": "Download backup",
|
||||
"create_backup": "Create backup",
|
||||
"create": "Create",
|
||||
"location": "Location",
|
||||
"data_disk": "Data disk",
|
||||
"created": "Created",
|
||||
"name": "Backup name",
|
||||
"type": "Backup type",
|
||||
|
|
Loading…
Reference in New Issue