Skip to content

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

Open
ouranos wants to merge 1 commit intomaestrano:1.1from
ouranos:feature/fix-org-list
Open

[KAPP-187] Fix org list when switching designer mode#359
ouranos wants to merge 1 commit intomaestrano:1.1from
ouranos:feature/fix-org-list

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