From 0b90ba6a7141c5cde9da740e1bc78866fcf211ce Mon Sep 17 00:00:00 2001 From: Thomas Ballmann Date: Mon, 16 Mar 2020 21:15:40 +0100 Subject: [PATCH] add missing fs stats #1 --- app/src/components/DeviceCard.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/components/DeviceCard.vue b/app/src/components/DeviceCard.vue index 9b00a59..6d85e0d 100644 --- a/app/src/components/DeviceCard.vue +++ b/app/src/components/DeviceCard.vue @@ -41,12 +41,12 @@ Total - 1.86 MB + {{ fs.total | prettyBytes }} Free - 770KB + {{ fs.free | prettyBytes }} @@ -65,6 +65,9 @@ export default { return Math.round( (100 / this.stats.device.fs.total) * this.stats.device.fs.used ); + }, + fs() { + return this.stats.device.fs; } } };