fix: Error state and passing args for product listing

- Show error state in case of unexpected errors in query engine
- Pass args appropriately from `view.js`
- Use args correctly in `api.py`
- Error handling in `api.py` if query engine raises error
- Instantiated product data engine tests
- Fix dotted path for search api call in `search.js`
This commit is contained in:
marination
2021-08-13 14:23:52 +05:30
parent 335a237383
commit 7d1df9d4c3
6 changed files with 93 additions and 32 deletions

View File

@@ -1316,6 +1316,12 @@ body.product-page {
font-size: 14px;
}
.alert-error {
color: #e27a84;
background-color: #fff6f7;
border-color: #f5c6cb;
}
.font-md {
font-size: 14px !important;
}