Project data not displayed in edit form on initial load
blushi opened this issue · comments
Describe the bug
When loading a project edit form directly from the URL, ie https://dev.app.regen.network/project-pages/C01-005/edit/basic-info, the data is not displayed even though there's some data.
To Reproduce
- Go to https://dev.app.regen.network/ and login with an issuer/project admin
- Go to https://dev.app.regen.network/project-pages/C01-005/edit/basic-info (or replace with some other on chain project id you're an admin of)
- You won't see the actual data
- But if you switch to another form (ie location) then come back to the basic info form you should see the data.
This seems to only happen when accessing the project edit pages directly, because if you go to https://dev.app.regen.network/profile/projects first then edit a project from there, the data is displayed.
Expected behavior
We should always see existing data in the project edit forms.
Screenshots
On first load, data is not there:
Private Zenhub Image
Switching to another form then coming back to basic info, data is there now:
Private Zenhub Image
For Admin Use
- Not duplicate issue
- Appropriate labels and zenhub epics applied
- Appropriate contributors tagged