Skip to content
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

[KAPP-187] Fix org list when switching designer mode #359

Open
wants to merge 1 commit into
base: 1.1
Choose a base branch
from

Conversation

ouranos
Copy link
Contributor

@ouranos ouranos commented Jun 27, 2019

Force a refresh when switching from template to staff dashboard.

ImpacMAinSvc is caching the organisations list.
When loading a dashboard template, Impac is loaded and force a refresh of this list.

When subsequently going to an organisation page, the dashboard-create component is not forcing a reload which mean we only display the user organisation in the multi company list (in this case, the admin org)

This triggers a refresh when changing from the template mode to the staff dashboard mode. This preserve the benefit of caching when looking consecutively at multiple organisations.

Force a refresh when switching from template to staff dashboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants