Fightpandemics: Organisation name is not updated in the Profile drop-down menu after its name is changed

Created on 15 Jul 2020  路  9Comments  路  Source: FightPandemics/FightPandemics

Currently, you need to refresh the page for the drop-down menu to update its values.
Task: When the org name is changed, re-render profile drop-down menu.

Desktop FRONTEND Mobile Web Organization Profile P1 馃敟 p_ProfilAccount

All 9 comments

We need to dispatch refetchUser after organization update success. I thought this was working before but I may be wrong. I wonder if there's been a regression?

No it's not a regression - we just need to use refetchUser in EditOrganisationAccount.js similar to how it's used here: https://github.com/FightPandemics/FightPandemics/blob/19fa3aeb1e7aee9c6f125a562ae1828cfeb3fca7/client/src/pages/OrgProfileComplete.js#L68

@BMariscal Feel free to assign me or take this on yourself.

I can take this one. Thanks @joshmorel

@joshmorel I couldn't find the time to work on this today and won't be able to work on it until next week. I'm unassigning myself for now. I can pick it up again on Monday if no one has picked it up by then. cc @ppagarawal

Cc: @indirabhowmick
@joshmorel can you take it up please?

@ppagarawal Okay. Is this targeting Soft Launch (master) instead of rc/v1.1?

I can get a PR in today I think and I would suggest yes to target master if that is okay

I won't suggest this for soft launch @joshmorel as the frequency of change of organization name is not so frequent.

@doheekim93

Somehow this is working perfectly in staging. But in production, needs to refresh the page to see the changes in the dropdown. FYI @joshmorel @BMariscal

Was this page helpful?
0 / 5 - 0 ratings