@orderingstack/front-components-product-configurator 1.4.2-beta.10 → 1.4.2-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6913,7 +6913,6 @@ const selectProductsInForm = (productToUnselect, setValueInForm, initialSelected
|
|
|
6913
6913
|
};
|
|
6914
6914
|
function useMenuOptions(product, nestedLvl, parentKind, parentSelCtx) {
|
|
6915
6915
|
const { selCtx, attrs = {} } = product;
|
|
6916
|
-
const stateFilter = useStore((state) => state.filter);
|
|
6917
6916
|
const initialSelected = useStore((state) => state.initialSelected);
|
|
6918
6917
|
const currency = useStore((state) => state.currency);
|
|
6919
6918
|
const { setValue, getValues } = useFormContext();
|
|
@@ -6943,7 +6942,7 @@ function useMenuOptions(product, nestedLvl, parentKind, parentSelCtx) {
|
|
|
6943
6942
|
);
|
|
6944
6943
|
unselectProductsInForm(productsToUnselect, setValue);
|
|
6945
6944
|
selectProductsInForm(productsToSelect, setValue, initialSelected);
|
|
6946
|
-
}, [
|
|
6945
|
+
}, [isFilterValidated]);
|
|
6947
6946
|
return {
|
|
6948
6947
|
isFilterValidated,
|
|
6949
6948
|
selected,
|