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; } } };