@itilite/iui-user-management 1.5.14-beta.1 → 1.5.14-beta.2
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.js
CHANGED
|
@@ -2702,8 +2702,8 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2702
2702
|
var isActive = true;
|
|
2703
2703
|
paymentApi$1.get(userAddEditUrl.personalCardEligibility()).then(function (res) {
|
|
2704
2704
|
if (isActive) {
|
|
2705
|
-
var _res$data
|
|
2706
|
-
setAllowPersonalCardAdd((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 :
|
|
2705
|
+
var _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);
|
|
2707
2707
|
}
|
|
2708
2708
|
})["catch"](function () {
|
|
2709
2709
|
if (isActive) setAllowPersonalCardAdd(false);
|