saleor-dashboard icon indicating copy to clipboard operation
saleor-dashboard copied to clipboard

3.0 Does not work with an empyt catalogue

Open benoj opened this issue 3 years ago • 2 comments

What I'm trying to achieve

Starting up the dashboard with a clean Saleor instance

Steps to reproduce the problem

  1. New Saleor backend without populating db
  2. Create superuser and login to dashboard

What I expected to happen

See an empty dashboard

Screenshots

Screenshot 2021-02-04 at 16 54 43

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

benoj avatar Feb 04 '21 16:02 benoj

Which version of Saleor? AFAIR it should be resolved in 3.0

krzysztofwolski avatar Apr 06 '21 12:04 krzysztofwolski

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

benoj avatar Apr 06 '21 14:04 benoj