Skip to content
Snippets Groups Projects
Unverified Commit 4a20c20e authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[mpi] Fixed bug with editing values

parent 25234c74
Branches
Tags 0.1.0
No related merge requests found
......@@ -45,7 +45,7 @@ const MultiProductCountItem = ({ product, filterCategory, filterName, countZero,
useEffect(() => {
setCount(countZero ? "" : 0);
updatePrice(product, countZero ? "" : 0);
}, [props.refresh, countZero, product, updatePrice]);
}, [props.refresh]); // eslint-disable-line
return (
((filterCategory === "" || filterCategory === product.category_id) && (filterName === "" || product.name.toLowerCase().includes(filterName.toLowerCase()))) ?
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment