@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.modern.js
CHANGED
|
@@ -2235,7 +2235,7 @@ var editCustomFieldLabel = function editCustomFieldLabel(payload) {
|
|
|
2235
2235
|
var IUILocalStorageService$4 = services.IUILocalStorageService;
|
|
2236
2236
|
var env$3 = configs.env;
|
|
2237
2237
|
var CardsManagement = function CardsManagement(_ref) {
|
|
2238
|
-
var _pg$gateway
|
|
2238
|
+
var _pg$gateway;
|
|
2239
2239
|
var _ref$paymentDetails = _ref.paymentDetails,
|
|
2240
2240
|
paymentDetails = _ref$paymentDetails === void 0 ? {} : _ref$paymentDetails,
|
|
2241
2241
|
_ref$paymentMethod = _ref.paymentMethod,
|
|
@@ -2416,7 +2416,7 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2416
2416
|
return renderCard(card);
|
|
2417
2417
|
}), corporateCards.map(function (card) {
|
|
2418
2418
|
return renderCard(card);
|
|
2419
|
-
})), console.log('cards', cards, 'cardsCount', cardsCount
|
|
2419
|
+
})), 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.createElement("button", {
|
|
2420
2420
|
className: classes.addCardButton,
|
|
2421
2421
|
onClick: function onClick() {
|
|
2422
2422
|
return window.location.assign(_url);
|