1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 00:45:50 +02:00
This commit is contained in:
こぴなたみぽ
2018-02-07 18:17:59 +09:00
parent ea70350dcc
commit 07efc8e150
90 changed files with 427 additions and 425 deletions

View File

@@ -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);