@itilite/iui-user-management 1.5.14-beta.4 → 1.5.14-beta.5

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.
@@ -2698,9 +2698,8 @@ var CardsManagement = function CardsManagement(_ref) {
2698
2698
  var isActive = true;
2699
2699
  paymentApi$1.get(userAddEditUrl.personalCardEligibility()).then(function (res) {
2700
2700
  if (isActive) {
2701
- var _res$data;
2702
- console.log('allowPersonalCardAdd2', res === null || res === void 0 ? void 0 : res.data);
2703
- setAllowPersonalCardAdd((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.allow_personal_card_add) === true);
2701
+ var _res$data, _res$data$data;
2702
+ setAllowPersonalCardAdd((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : (_res$data$data = _res$data.data) === null || _res$data$data === void 0 ? void 0 : _res$data$data.allow_personal_card_add) === true);
2704
2703
  }
2705
2704
  })["catch"](function () {
2706
2705
  if (isActive) setAllowPersonalCardAdd(false);