@pelcro/react-pelcro-js 4.0.0-alpha.116 → 4.0.0-alpha.117
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 +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -26068,7 +26068,7 @@ function SelectModalWithHook(props) {
|
|
|
26068
26068
|
const entitlements = entitlementsProtectedElements.length > 0 ? getEntitlementsFromElem(entitlementsProtectedElements[0]) : null;
|
|
26069
26069
|
return /*#__PURE__*/React__default['default'].createElement(SelectModalWithTrans, {
|
|
26070
26070
|
isGift: isGift,
|
|
26071
|
-
disableGifting: isRenewingGift,
|
|
26071
|
+
disableGifting: isRenewingGift || props.hideGiftButton,
|
|
26072
26072
|
plan: plan,
|
|
26073
26073
|
product: product,
|
|
26074
26074
|
onClose: () => {
|
package/dist/index.esm.js
CHANGED
|
@@ -26026,7 +26026,7 @@ function SelectModalWithHook(props) {
|
|
|
26026
26026
|
const entitlements = entitlementsProtectedElements.length > 0 ? getEntitlementsFromElem(entitlementsProtectedElements[0]) : null;
|
|
26027
26027
|
return /*#__PURE__*/React__default.createElement(SelectModalWithTrans, {
|
|
26028
26028
|
isGift: isGift,
|
|
26029
|
-
disableGifting: isRenewingGift,
|
|
26029
|
+
disableGifting: isRenewingGift || props.hideGiftButton,
|
|
26030
26030
|
plan: plan,
|
|
26031
26031
|
product: product,
|
|
26032
26032
|
onClose: () => {
|