mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-03 22:47:47 +00:00
Fix backup agents
This commit is contained in:
parent
0c0b657c79
commit
c90e820c7f
@ -10,7 +10,7 @@ export interface BackupContent {
|
|||||||
name: string;
|
name: string;
|
||||||
protected: boolean;
|
protected: boolean;
|
||||||
size: number;
|
size: number;
|
||||||
agents?: string[];
|
agent_ids?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BackupInfo {
|
export interface BackupInfo {
|
||||||
|
@ -70,7 +70,7 @@ class HaConfigBackupDashboard extends SubscribeMixin(LitElement) {
|
|||||||
locations: {
|
locations: {
|
||||||
title: "Locations",
|
title: "Locations",
|
||||||
template: (backup) =>
|
template: (backup) =>
|
||||||
html`${(backup.agents || []).map((agent) => {
|
html`${(backup.agent_ids || []).map((agent) => {
|
||||||
const [domain, name] = agent.split(".");
|
const [domain, name] = agent.split(".");
|
||||||
return html`
|
return html`
|
||||||
<img
|
<img
|
||||||
|
Loading…
x
Reference in New Issue
Block a user