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