Skip to content

Commit

Permalink
Fix quota percentage
Browse files Browse the repository at this point in the history
Should be fixed in the backend
  • Loading branch information
elizavetaRa authored and diocas committed Jun 1, 2023
1 parent f22428c commit f972d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-runtime/src/components/Topbar/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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))
},
Expand Down

0 comments on commit f972d1d

Please sign in to comment.