regen-network / regen-web

:seedling: Website and marketplace application

Home Page:https://app.regen.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Go to https://dev.app.regen.network/ and login with an issuer/project admin
  2. 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)
  3. You won't see the actual data
  4. 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