@itilite/iui-user-management 1.4.7722 → 1.4.7723

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 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, _pg$gateway2, _pg$gateway3;
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, 'pg', pg, 'paymentMethod', paymentMethod), (!cards || (cardsCount === null || cardsCount === void 0 ? void 0 : cardsCount.length) < 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", {
2422
+ })), console.log('cards', cards, 'cardsCount', cardsCount, 'pg', pg, 'paymentMethod', paymentMethod, !cards || (cardsCount === null || cardsCount === void 0 ? void 0 : cardsCount.length) < 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, (!cards || (cardsCount === null || cardsCount === void 0 ? void 0 : cardsCount.length) < 10) && (pg === null || pg === void 0 ? void 0 : (_pg$gateway2 = pg.gateway) === null || _pg$gateway2 === void 0 ? void 0 : _pg$gateway2.toLowerCase()) === 'stripe' && (pg === null || pg === void 0 ? void 0 : pg.save_card_enable) === 1 && paymentMethod === 1), (!cards || (cardsCount === null || cardsCount === void 0 ? void 0 : cardsCount.length) < 10) && (pg === null || pg === void 0 ? void 0 : (_pg$gateway3 = pg.gateway) === null || _pg$gateway3 === void 0 ? void 0 : _pg$gateway3.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);