From e211dd5be266ad6e0035f1e4b78599f1ecbe9cce Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Tue, 28 May 2024 21:37:20 +0200 Subject: [PATCH] Add proper formatting for flashsize output --- webapp/src/components/HardwareInfo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/HardwareInfo.vue b/webapp/src/components/HardwareInfo.vue index c7f342f..ed8a679 100644 --- a/webapp/src/components/HardwareInfo.vue +++ b/webapp/src/components/HardwareInfo.vue @@ -22,8 +22,8 @@ {{ $t('hardwareinfo.FlashSize') }} - {{ systemStatus.flashsize }} {{ $t('hardwareinfo.Bytes') }} - ({{ systemStatus.flashsize / 1024 / 1024 }} {{ $t('hardwareinfo.MegaBytes') }}) + {{ $n(systemStatus.flashsize) }} {{ $t('hardwareinfo.Bytes') }} + ({{ $n(systemStatus.flashsize / 1024 / 1024) }} {{ $t('hardwareinfo.MegaBytes') }})