@propeller-commerce/propeller-v2-react-ui 0.19.0 → 0.19.2
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/CHANGELOG.md +44 -0
- package/dist/index.cjs +17 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -8
- package/dist/index.d.ts +33 -8
- package/dist/index.js +17 -6
- package/dist/index.js.map +1 -1
- package/dist/pure.cjs +2 -2
- package/dist/pure.cjs.map +1 -1
- package/dist/pure.d.cts +9 -0
- package/dist/pure.d.ts +9 -0
- package/dist/pure.js +2 -2
- package/dist/pure.js.map +1 -1
- package/package.json +1 -1
package/dist/pure.cjs
CHANGED
|
@@ -392,11 +392,11 @@ function OrderItemCard(props) {
|
|
|
392
392
|
className: isChildItem ? "propeller-order-item-card__cell propeller-order-item-card__cell--price px-6 py-2 text-right whitespace-nowrap text-sm text-muted-foreground" : "propeller-order-item-card__cell propeller-order-item-card__cell--price px-6 py-4 text-right whitespace-nowrap",
|
|
393
393
|
children: (() => {
|
|
394
394
|
const PriceImpl = props.priceComponent;
|
|
395
|
-
if (PriceImpl) {
|
|
395
|
+
if (PriceImpl && item?.product?.price) {
|
|
396
396
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
397
397
|
PriceImpl,
|
|
398
398
|
{
|
|
399
|
-
price: item
|
|
399
|
+
price: item.product.price,
|
|
400
400
|
currency: props.currency,
|
|
401
401
|
labels: props.labels
|
|
402
402
|
}
|