summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/widgets/server.memory.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-27 18:18:05 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-27 18:18:05 +0900
commit6b19e54c23d100d10ccc643f8eadeaafdc0b67e0 (patch)
treedb509186c33cfc8d141d12093c75b6e0ed50efe8 /src/client/app/common/views/widgets/server.memory.vue
parentFix bug (diff)
downloadmisskey-6b19e54c23d100d10ccc643f8eadeaafdc0b67e0.tar.gz
misskey-6b19e54c23d100d10ccc643f8eadeaafdc0b67e0.tar.bz2
misskey-6b19e54c23d100d10ccc643f8eadeaafdc0b67e0.zip
Fix bug
Diffstat (limited to 'src/client/app/common/views/widgets/server.memory.vue')
-rw-r--r--src/client/app/common/views/widgets/server.memory.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/widgets/server.memory.vue b/src/client/app/common/views/widgets/server.memory.vue
index 9212f2271f..8a60621343 100644
--- a/src/client/app/common/views/widgets/server.memory.vue
+++ b/src/client/app/common/views/widgets/server.memory.vue
@@ -35,7 +35,7 @@ export default Vue.extend({
},
methods: {
onStats(stats) {
- stats.mem.used = stats.mem.total - stats.mem.free;
+ stats.mem.free = stats.mem.total - stats.mem.used;
this.usage = stats.mem.used / stats.mem.total;
this.total = stats.mem.total;
this.used = stats.mem.used;