diff --git a/web/assets/js/bs5.dashboard-base.js b/web/assets/js/bs5.dashboard-base.js index e954001b..62f472b7 100644 --- a/web/assets/js/bs5.dashboard-base.js +++ b/web/assets/js/bs5.dashboard-base.js @@ -828,21 +828,23 @@ function convertKbToHumanSize(theNumber){ return `${number} ${unit}` } function drawIndicatorBar(item){ - var html = `
-
-
- -
-
- ${item.label} + var html = `
+
+
+
+ +
+
+ ${item.label} +
+
+ 0% +
- 0% -
-
-
-
-
+
+
+
` diff --git a/web/assets/js/bs5.startup.js b/web/assets/js/bs5.startup.js index c61b8f6a..8e657def 100644 --- a/web/assets/js/bs5.startup.js +++ b/web/assets/js/bs5.startup.js @@ -95,7 +95,7 @@ function drawAddStorageIndicators(){ var el = $(`#indicator-${storage.name}`) loadedIndicators[storage.name] = { value: el.find('.value'), - percent: el.find('.percent'), + percent: el.find('.indicator-percent'), progressBar: el.find('.progress-bar'), } })