When a user switches their active session from an "Instance Account" to a "Local Account", the dashboard fails to update its state. Instead of clearing the screen or loading the local data, the dashboard continues to display the cached data (projects, tasks, hours, etc.) belonging to the previously selected instance account.
To Reproduce
Steps to reproduce the behavior:
1.OPen the app and ensure an Instance Account is currently active.
2.In Dashboard, observe the populated data.
3.Switch the active account to a Local Account.
4.Observe Dashboard.
5.Observe the data currently being displayed.
Expected behavior
Upon switching the active account, the application should immediately clear the previous session's data from the UI. The dashboard should trigger a data refresh and display only the metrics and records associated with the newly selected Local Account (or show an empty/zero state if no local data exists yet).
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: POCO]
- Version [V1.3.1]
When a user switches their active session from an "Instance Account" to a "Local Account", the dashboard fails to update its state. Instead of clearing the screen or loading the local data, the dashboard continues to display the cached data (projects, tasks, hours, etc.) belonging to the previously selected instance account.
To Reproduce
Steps to reproduce the behavior:
1.OPen the app and ensure an Instance Account is currently active.
2.In Dashboard, observe the populated data.
3.Switch the active account to a Local Account.
4.Observe Dashboard.
5.Observe the data currently being displayed.
Expected behavior
Upon switching the active account, the application should immediately clear the previous session's data from the UI. The dashboard should trigger a data refresh and display only the metrics and records associated with the newly selected Local Account (or show an empty/zero state if no local data exists yet).
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):