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