@itilite/iui-user-management 1.4.77341 → 1.4.77342

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.
@@ -7349,7 +7349,7 @@ var UserAddEdit = function UserAddEdit(props) {
7349
7349
  if (isRendered === true) {
7350
7350
  renderFields === null || renderFields === void 0 ? void 0 : renderFields.products.forEach(function (prod) {
7351
7351
  console.log(prod, isProfile, editUserId, id, 'card check');
7352
- if ((prod === null || prod === void 0 ? void 0 : prod.name) === 'card') {
7352
+ if ((prod === null || prod === void 0 ? void 0 : prod.name) === 'card' && (isProfile || editUserId)) {
7353
7353
  fetchEditUserCardsDetails(isProfile ? id : editUserId);
7354
7354
  }
7355
7355
  });