From ca5c7af47092aceb44d9bbf369d3fcecccae503c Mon Sep 17 00:00:00 2001 From: George Lacey Date: Fri, 14 May 2021 12:55:46 +0100 Subject: [PATCH] Show tick label for 0GB --- borgweb/borg/static/js/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/borgweb/borg/static/js/index.js b/borgweb/borg/static/js/index.js index 4be89eb..6b56b98 100644 --- a/borgweb/borg/static/js/index.js +++ b/borgweb/borg/static/js/index.js @@ -52,9 +52,7 @@ function set_daily_graph(repoDict) { }, ticks: { callback: function (value, index, values) { - if (value !== 0) { - return `${value} ${y_units}` - } + return `${value} ${y_units}` } } }