@ikas/storefront 0.0.29 → 0.0.31
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/build/index.es.js +3 -2
- package/build/index.js +3 -2
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -13660,7 +13660,8 @@ var IkasProductDetail = /** @class */ (function () {
|
|
|
13660
13660
|
var newUrl = "/" + metaData.slug + "-" + this.selectedVariantValues
|
|
13661
13661
|
.map(function (vv) { return vv.slug; })
|
|
13662
13662
|
.join("-");
|
|
13663
|
-
|
|
13663
|
+
var isShallow = process.env.NODE_ENV !== "production";
|
|
13664
|
+
(_a = this.router) === null || _a === void 0 ? void 0 : _a.replace(newUrl, undefined, { shallow: isShallow });
|
|
13664
13665
|
};
|
|
13665
13666
|
return IkasProductDetail;
|
|
13666
13667
|
}());
|
|
@@ -23422,7 +23423,7 @@ var Page$1 = function (_a) {
|
|
|
23422
23423
|
}, []);
|
|
23423
23424
|
useEffect(function () {
|
|
23424
23425
|
setPropValues(IkasPageDataProvider.initPropValues(propValuesStr, router, isBrowser));
|
|
23425
|
-
}, [isBrowser]);
|
|
23426
|
+
}, [isBrowser, propValuesStr]);
|
|
23426
23427
|
handleGTM(page, pageSpecificDataStr);
|
|
23427
23428
|
return (createElement(IkasPage, { page: page, propValues: propValues, pageSpecificDataStr: pageSpecificDataStr }));
|
|
23428
23429
|
};
|
package/build/index.js
CHANGED
|
@@ -13646,7 +13646,8 @@ var IkasProductDetail = /** @class */ (function () {
|
|
|
13646
13646
|
var newUrl = "/" + metaData.slug + "-" + this.selectedVariantValues
|
|
13647
13647
|
.map(function (vv) { return vv.slug; })
|
|
13648
13648
|
.join("-");
|
|
13649
|
-
|
|
13649
|
+
var isShallow = process.env.NODE_ENV !== "production";
|
|
13650
|
+
(_a = this.router) === null || _a === void 0 ? void 0 : _a.replace(newUrl, undefined, { shallow: isShallow });
|
|
13650
13651
|
};
|
|
13651
13652
|
return IkasProductDetail;
|
|
13652
13653
|
}());
|
|
@@ -23406,7 +23407,7 @@ var Page$1 = function (_a) {
|
|
|
23406
23407
|
}, []);
|
|
23407
23408
|
React.useEffect(function () {
|
|
23408
23409
|
setPropValues(IkasPageDataProvider.initPropValues(propValuesStr, router$1, isBrowser));
|
|
23409
|
-
}, [isBrowser]);
|
|
23410
|
+
}, [isBrowser, propValuesStr]);
|
|
23410
23411
|
handleGTM(page, pageSpecificDataStr);
|
|
23411
23412
|
return (React.createElement(IkasPage, { page: page, propValues: propValues, pageSpecificDataStr: pageSpecificDataStr }));
|
|
23412
23413
|
};
|