summaryrefslogtreecommitdiff
path: root/src/web/app/status
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-07 18:17:59 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-07 18:17:59 +0900
commit07efc8e1504450b4eb6bc29f43986a9d538d0680 (patch)
tree8faf4958438cfad54383fc2df06bd2496e7acdc1 /src/web/app/status
parentwip (diff)
downloadmisskey-07efc8e1504450b4eb6bc29f43986a9d538d0680.tar.gz
misskey-07efc8e1504450b4eb6bc29f43986a9d538d0680.tar.bz2
misskey-07efc8e1504450b4eb6bc29f43986a9d538d0680.zip
wip
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);