From a4cae2ee2c5202f449b0351f2df7a221d8f8b4d5 Mon Sep 17 00:00:00 2001 From: George Lacey Date: Wed, 6 Apr 2022 13:34:41 +0100 Subject: [PATCH] Re-enable graphs --- borgweb/borg/static/borg/js/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/borgweb/borg/static/borg/js/index.js b/borgweb/borg/static/borg/js/index.js index 03b808a..c2a0c5d 100644 --- a/borgweb/borg/static/borg/js/index.js +++ b/borgweb/borg/static/borg/js/index.js @@ -32,10 +32,10 @@ window.addEventListener("DOMContentLoaded", function () { }) - // $.getJSON("repo_daily.json", function (json) { - // draw_time_graph("daily_backup_size", json.repos, json.dates, json.units); - // }); - // $.getJSON("repo_monthly.json", function (json) { - // draw_time_graph("monthly_backup_size", json.repos, json.dates, json.units); - // }); + $.getJSON("repo_daily.json", function (json) { + draw_time_graph("daily_backup_size", json.repos, json.dates, json.units); + }); + $.getJSON("repo_monthly.json", function (json) { + draw_time_graph("monthly_backup_size", json.repos, json.dates, json.units); + }); }, false);