Open richford opened 1 day ago
This may be related to something I noticed on the participant home page. When a participant first logs in, the "You have no assignments" screen briefly flashes. Then it updates with their assignments. Ideally, we would wait until we have retrieved their assignments before assessing whether to show the "You have no assignments" screen. I didn't make an issue of that one because I believe it exists on prod and was not introduced by @maximilianoertel's PR.
However, is it possible that the same thing is happening to administrators and that the dashboard is using the cached "no administrations" result to display the list of administrations?
I noticed that as well and have been looking into it, but the participant homepage is a bit more complex than the administrator homepage. The PR for the latter is ready for review and I hope to have a fix for the participant homepage ready shortly!
@richford the Participant homepage loading state issue should get resolved with #889
I also noticed that if one returns to administrator home from another route, the administration list is empty.
To reproduce,
Expected behavior:
Page displays the same administrations seen in step 2.