bug fixes

This commit is contained in:
Luis Alvarez
2020-10-14 13:12:34 -05:00
parent 32da7ddcc1
commit 8905089fd7
3 changed files with 10 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ const getProducts: ProductsHandlers['getProducts'] = async ({
},
{}
)
const products: Products = []
const products: Products = found ? [] : graphqlData.products
// Populate the products array with the graphql products, in the order
// assigned by the list of entity ids