-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix account-info quota rendering #6923
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
331cc19
to
f1c36b4
Compare
packages/web-runtime/tests/unit/components/Topbar/__snapshots__/UserMenu.spec.js.snap
Outdated
Show resolved
Hide resolved
2fb691f
to
4075dbe
Compare
@@ -263,7 +263,7 @@ const mutations = { | |||
SET_QUOTA(state, quota) { | |||
// Turn strings into ints | |||
quota.free = parseInt(quota.free) | |||
quota.relative = parseInt(quota.relative) | |||
quota.relative = parseFloat(quota.relative) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fschade took me a bit longer because I needed to investigate why the relative used storage (which the backend reports correctly) always ends up as 0
in the store 💩 also fixed the fixtures where this was reflected, too
Kudos, SonarCloud Quality Gate passed! |
Description
Related Issue
quota.definition: none
#6913Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: