@itilite/iui-user-management 0.4.69 → 0.4.70

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
@@ -6954,6 +6954,9 @@ var UserAddEdit = function UserAddEdit(props) {
6954
6954
  if (p.id === 3 && !isCardsAdmin && !isProfile) {
6955
6955
  p.readOnly = true;
6956
6956
  p.disableText = "Only card admin can change this access.";
6957
+ } else if (p.id === 3 && editUserId === (id === null || id === void 0 ? void 0 : id.toString())) {
6958
+ p.readOnly = true;
6959
+ p.disableText = "You cannot update your own card product";
6957
6960
  }
6958
6961
  return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
6959
6962
  item: true,