Browse Source

fix tags collection selection

master
azri 4 weeks ago
parent
commit
3da75e278d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/components/ProductList/ProductList.jsx

+ 1
- 1
src/components/ProductList/ProductList.jsx View File

72
     } else if (sessionStorage.getItem('amber-select-category')) {
72
     } else if (sessionStorage.getItem('amber-select-category')) {
73
 
73
 
74
       let tag = sessionStorage.getItem('amber-select-category')
74
       let tag = sessionStorage.getItem('amber-select-category')
75
-      if(tag == 'all') tag = ""
76
       dispatch(fetchProductsByTags({ tag }))
75
       dispatch(fetchProductsByTags({ tag }))
77
 
76
 
78
     }
77
     }
125
         (product) => {
124
         (product) => {
126
 
125
 
127
           if(collection == 'all'){
126
           if(collection == 'all'){
127
+            debugger
128
             return product.productType === productType
128
             return product.productType === productType
129
           } else {
129
           } else {
130
             debugger
130
             debugger

Loading…
Cancel
Save