diff --git a/borgweb/borg/static/borg/js/index.js b/borgweb/borg/static/borg/js/index.js index c2a0c5d..c8a26f7 100644 --- a/borgweb/borg/static/borg/js/index.js +++ b/borgweb/borg/static/borg/js/index.js @@ -5,6 +5,7 @@ function inflateRepo(repo_json, label, template_id, container_id) { $(template_copy).find(".repo-latest-backup").html(repo_json.latest_backup); $(template_copy).find(".repo-size").html(repo_json.size); $(template_copy).find(".repo-recent-errors").html(repo_json.recent_errors); + $(template_copy).find(".repo-size-graph").prop("id", `repo-${label}-size-graph`); let bg_class = "bg-primary"; if (repo_json.error) { diff --git a/borgweb/borg/templates/borg/repo-template.html b/borgweb/borg/templates/borg/repo-template.html index b8fb989..416157b 100644 --- a/borgweb/borg/templates/borg/repo-template.html +++ b/borgweb/borg/templates/borg/repo-template.html @@ -17,6 +17,7 @@