@itilite/iui-user-management 0.4.62 → 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.
@@ -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),