@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.
@@ -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, _pg$gateway2, _pg$gateway3;
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, '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.createElement("button", {
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);