You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The navItems and the quota are changed corresponding to the account
Actual behaviour
The list of navItems for the lightweight accounts is mixed with cached navItems from previous account. Quota is shown where it doesn't exist. By opening the app in new tab the problem disappears.
The text was updated successfully, but these errors were encountered:
elizavetaRa
changed the title
Cached parts of the interface by switching between accounts
Cached parts of the interface by switching between accounts not updating
Mar 8, 2022
@kulmann I found the issue with quota: if the backend returns no quota (our case with lightweight accounts), the quota in store is not reset from the previous logged in user inside one browser tab.
Similar happens to navItems, by change of the user who has other navItems, those get added to navItems from previous user.
Steps to reproduce
Implementation of different lists of navItems here: https://github.com/cernbox/web/blob/0dfa4717578cedfaa0cf976e027b20c212f76b6f/packages/web-app-files/src/index.js#L169-L171
Expected behaviour
The navItems and the quota are changed corresponding to the account
Actual behaviour
The list of navItems for the lightweight accounts is mixed with cached navItems from previous account. Quota is shown where it doesn't exist. By opening the app in new tab the problem disappears.
The text was updated successfully, but these errors were encountered: