From f972d1dfcb7e18737033c091bee3816045f6b4a5 Mon Sep 17 00:00:00 2001 From: elizavetaRa Date: Thu, 13 Oct 2022 09:58:43 +0200 Subject: [PATCH] Fix quota percentage Should be fixed in the backend --- packages/web-runtime/src/components/Topbar/UserMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-runtime/src/components/Topbar/UserMenu.vue b/packages/web-runtime/src/components/Topbar/UserMenu.vue index 709bd555c63..49b13fa471b 100644 --- a/packages/web-runtime/src/components/Topbar/UserMenu.vue +++ b/packages/web-runtime/src/components/Topbar/UserMenu.vue @@ -145,7 +145,7 @@ export default defineComponent({ }, quotaUsagePercent() { return this.useLegacyQuota - ? this.quota.relative + ? parseFloat(this.quota.relative).toFixed(2) : parseFloat(((this.quota.used / this.quota.total) * 100).toFixed(2)) },