summaryrefslogtreecommitdiff
path: root/src/lib/product
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-30 07:48:24 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-30 07:48:24 +0000
commitb64bb03a88d45f78f26fc32d9c4462f9112abc10 (patch)
treef4a5b3353fbb7ada8425a4e73994f5a6628c2e5b /src/lib/product
parent7d62937e8e3d8faad092e5c530f7d00073b1faec (diff)
parentc92b47f81b4ea90f799810555395af7afcfa5a4d (diff)
Merged in Feature/category-management (pull request #184)
<iman> update category management
Diffstat (limited to 'src/lib/product')
-rw-r--r--src/lib/product/components/ProductSearch.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index 4a2c11ba..09534a5d 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -342,7 +342,7 @@ const ProductSearch = ({
q: router.query.q,
orderBy: orderBy,
brand: brandValues.join(','),
- category: categoryValues.join(','),
+ category: categoryValues?.join(','),
priceFrom,
priceTo,
};