Description
This PR fixes the displayed storage usage in Settings for B2B workspaces.
Issue:
Previously, the component was adding the individual account's space internally, leading to incorrect storage information being shown for workspace accounts.
Fix:
We now use the correct workspace usage and limit data, ensuring accurate information is shown in the UI.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
Testing Process
- Log in using an account that has a B2B workspace.
- Switch to the B2B workspace.
- Go to Settings.
- In the Overview tab (Workspace section), verify that the storage usage and limit are displayed correctly.
- Click on the Account tab (Account section).
- Confirm that the storage usage shown is also correct.