saleor-dashboard
saleor-dashboard copied to clipboard
3.0 Does not work with an empyt catalogue
What I'm trying to achieve
Starting up the dashboard with a clean Saleor instance
Steps to reproduce the problem
- New Saleor backend without populating db
- Create superuser and login to dashboard
What I expected to happen
See an empty dashboard
Screenshots
Essentially there is a lot of code which looks like:
searchAttributes.result.data?.search.edges
and countAllProducts.data?.products.totalCount
--> however this needs to be updated to searchAttributes.result.data?.search?.edges
and countAllProducts.data?.products?.totalCount
Which version of Saleor? AFAIR it should be resolved in 3.0
Sorry this was a while back - i think it would have been 3.0.0-a.7 looking at the timelines based on the issue open date