diff --git a/src/components/StorageQuota.vue b/src/components/StorageQuota.vue index e3e34a3f..42a98f64 100644 --- a/src/components/StorageQuota.vue +++ b/src/components/StorageQuota.vue @@ -5,8 +5,8 @@
-
+
{{ t('nmctheme', 'Memory used up to {memoryUsage}%', { memoryUsage }) }}
${usedQuotaByte} ${t('nmctheme', 'of')} ${quotaByte}` }, - memoryUsage() { + memoryUsed() { return parseFloat((this.storageStats?.used / this.storageStats?.quota) * 100).toFixed(2) }, + memoryUsage() { + return parseFloat((this.storageStats?.used / this.storageStats?.quota) * 100).toLocaleString(getCanonicalLocale()) + }, }, beforeMount() { this.loadStorageStats()