@itilite/iui-user-management 1.4.7723 → 1.4.7724
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2238,7 +2238,7 @@ var editCustomFieldLabel = function editCustomFieldLabel(payload) {
|
|
|
2238
2238
|
var IUILocalStorageService$4 = utils.services.IUILocalStorageService;
|
|
2239
2239
|
var env$3 = utils.configs.env;
|
|
2240
2240
|
var CardsManagement = function CardsManagement(_ref) {
|
|
2241
|
-
var _pg$gateway
|
|
2241
|
+
var _pg$gateway;
|
|
2242
2242
|
var _ref$paymentDetails = _ref.paymentDetails,
|
|
2243
2243
|
paymentDetails = _ref$paymentDetails === void 0 ? {} : _ref$paymentDetails,
|
|
2244
2244
|
_ref$paymentMethod = _ref.paymentMethod,
|
|
@@ -2419,7 +2419,7 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2419
2419
|
return renderCard(card);
|
|
2420
2420
|
}), corporateCards.map(function (card) {
|
|
2421
2421
|
return renderCard(card);
|
|
2422
|
-
})), console.log('cards', cards, 'cardsCount', cardsCount
|
|
2422
|
+
})), console.log('cards', cards, 'cardsCount', cardsCount), (!cards || cardsCount < 10) && (pg === null || pg === void 0 ? void 0 : (_pg$gateway = pg.gateway) === null || _pg$gateway === void 0 ? void 0 : _pg$gateway.toLowerCase()) === 'stripe' && (pg === null || pg === void 0 ? void 0 : pg.save_card_enable) === 1 && paymentMethod === 1 && /*#__PURE__*/React__default.createElement("button", {
|
|
2423
2423
|
className: classes.addCardButton,
|
|
2424
2424
|
onClick: function onClick() {
|
|
2425
2425
|
return window.location.assign(_url);
|