When 'Funder' is saved in Org settings, you need to refresh for it to apply properly
[Provide a general summary of the issue in the title above]
Expected behaviour
When you turn on the Funder toggle in Org settings and save, once it is successfully saved (and the save message is shown), you should be able to create a new book in that Organisation, and choose a different organisation in that New book step as the publisher, in the Publisher dropdown.
Current behaviour
As reported in #1297 (closed), when you apply a 'Funder' toggle to an Org and save it, when you go to the Create book step you can't choose another Org as the publisher until you refresh the page. We shouldn't need to refresh.
Steps to reproduce
[Provide a link to a live example or screenshots, and the steps to reproduce this bug]
- Go to any Org with 'Funder' already off in Settings
- Turn 'Funder' toggle on
- Create new book, and try choose a different Org in the Publisher dropdown
- No Orgs appear
- Refresh the page and try again, see that now the other Orgs appear.
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]
NCBI's priority feedback
Y for MVP deployment.
QA Steps
- Go to any Org with 'Funder' already off in Settings (Or create a publisher type of org)
- Open the New Book modal, and you will not be able to change the Publisher there.
- Got to org settings & turn 'Funder' toggle on
- Create new book, and try choose a different Org in the Publisher dropdown
- All the orgs should appear by searching the name