@salesgenterp/ui-components 0.4.541 → 0.4.542
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16536,7 +16536,7 @@ var ProductCard = function ProductCard(_ref3) {
|
|
|
16536
16536
|
onClick: function onClick(e) {
|
|
16537
16537
|
e.stopPropagation();
|
|
16538
16538
|
e.preventDefault();
|
|
16539
|
-
if (product !== null && product !== void 0 && product.
|
|
16539
|
+
if (product !== null && product !== void 0 && product.hasChildProduct) {
|
|
16540
16540
|
router$1.push("/products/" + (product === null || product === void 0 ? void 0 : product.productId));
|
|
16541
16541
|
} else {
|
|
16542
16542
|
if (onAddToCart) {
|