Fix backup agents

This commit is contained in:
Paul Bottein 2024-11-18 15:37:01 +01:00
parent 0c0b657c79
commit c90e820c7f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ export interface BackupContent {
name: string;
protected: boolean;
size: number;
agents?: string[];
agent_ids?: string[];
}
export interface BackupInfo {

View File

@ -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