@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.modern.js
CHANGED
|
@@ -16532,7 +16532,7 @@ var ProductCard = function ProductCard(_ref3) {
|
|
|
16532
16532
|
onClick: function onClick(e) {
|
|
16533
16533
|
e.stopPropagation();
|
|
16534
16534
|
e.preventDefault();
|
|
16535
|
-
if (product !== null && product !== void 0 && product.
|
|
16535
|
+
if (product !== null && product !== void 0 && product.hasChildProduct) {
|
|
16536
16536
|
router.push("/products/" + (product === null || product === void 0 ? void 0 : product.productId));
|
|
16537
16537
|
} else {
|
|
16538
16538
|
if (onAddToCart) {
|