@itilite/iui-user-management 0.4.61 → 0.4.63
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -422,10 +422,10 @@ var userAddEditUrl = {
|
|
|
422
422
|
return "api/v1/onboarding/user-signup-reject/" + userId + "?action=undo";
|
|
423
423
|
},
|
|
424
424
|
cardsEditUserDetails: function cardsEditUserDetails(userId) {
|
|
425
|
-
return "
|
|
425
|
+
return env.getCardsapiURL() + "/card/authorization/user/" + userId;
|
|
426
426
|
},
|
|
427
427
|
cardsAddUsersDetails: function cardsAddUsersDetails() {
|
|
428
|
-
return "
|
|
428
|
+
return env.getCardsapiURL() + "/card/authorization/company/" + IUILocalStorageService.getCompanyId() + "/roles";
|
|
429
429
|
}
|
|
430
430
|
};
|
|
431
431
|
var userListUrl = {
|
|
@@ -5485,7 +5485,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5485
5485
|
}
|
|
5486
5486
|
}
|
|
5487
5487
|
}
|
|
5488
|
-
}, [isCardsDetailsRendered, cardsDetails, isProfile, productAccess.cards]);
|
|
5488
|
+
}, [isCardsDetailsRendered, cardsDetails, isProfile, productAccess.cards, isCardsAdmin]);
|
|
5489
5489
|
var asyncSelectRefs = useRef({
|
|
5490
5490
|
emp_level: useRef(null),
|
|
5491
5491
|
entity: useRef(null),
|
|
@@ -6515,7 +6515,7 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6515
6515
|
if (!_isError) {
|
|
6516
6516
|
if (isEditMode && editUserId || isProfile) {
|
|
6517
6517
|
dispatch(showLoader());
|
|
6518
|
-
if (cardApiflag) {
|
|
6518
|
+
if (cardApiflag && !isProfile) {
|
|
6519
6519
|
fetch(userAddEditUrl.cardsEditUserDetails(editUserId), {
|
|
6520
6520
|
method: 'POST',
|
|
6521
6521
|
body: JSON.stringify(cardsPayload),
|