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