summaryrefslogtreecommitdiff
path: root/src/web/app/status
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/status')
-rw-r--r--src/web/app/status/tags/index.tag4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/app/status/tags/index.tag b/src/web/app/status/tags/index.tag
index dcadc66172..198aa89e38 100644
--- a/src/web/app/status/tags/index.tag
+++ b/src/web/app/status/tags/index.tag
@@ -93,7 +93,7 @@
});
this.onStats = stats => {
- this.refs.chart.addData(1 - stats.cpu_usage);
+ this.$refs.chart.addData(1 - stats.cpu_usage);
const percentage = (stats.cpu_usage * 100).toFixed(0);
@@ -124,7 +124,7 @@
this.onStats = stats => {
stats.mem.used = stats.mem.total - stats.mem.free;
- this.refs.chart.addData(1 - (stats.mem.used / stats.mem.total));
+ this.$refs.chart.addData(1 - (stats.mem.used / stats.mem.total));
const percentage = (stats.mem.used / stats.mem.total * 100).toFixed(0);