Bug Fixing
This commit is contained in:
@@ -220,8 +220,6 @@ export const ProductComponent = observer((props) => {
|
||||
const handleCancelFilter = async () => {
|
||||
store.product.filterSubCategory = null;
|
||||
store.product.filterSupplier = null;
|
||||
// setFilterSubCategories([]);
|
||||
// setFilterSupplier([]);
|
||||
store.product.visibleModalFilterProduct = false;
|
||||
await store.product.getData();
|
||||
};
|
||||
@@ -232,21 +230,9 @@ export const ProductComponent = observer((props) => {
|
||||
modalLoader.setLoading(true);
|
||||
await store.product.getData();
|
||||
modalLoader.setLoading(false);
|
||||
// setFilterSupplier([]);
|
||||
// setFilterSubCategories([]);
|
||||
store.product.visibleModalFilterProduct = false;
|
||||
};
|
||||
|
||||
// const handleFilterCategory = async (value) => {
|
||||
// if (value) {
|
||||
// store.product.filterCategory = value;
|
||||
// await store.product.getDataSubCategories();
|
||||
// } else {
|
||||
// store.product.filterCategory = null;
|
||||
// await store.product.getDataSubCategories();
|
||||
// }
|
||||
// };
|
||||
|
||||
const footerLayoutFilter = [
|
||||
<Button
|
||||
key={"remove"}
|
||||
|
||||
Reference in New Issue
Block a user