@itilite/iui-user-management 0.4.59 → 0.4.60

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.
@@ -5537,8 +5537,7 @@ var UserAddEdit = function UserAddEdit(props) {
5537
5537
  travel_docs: '',
5538
5538
  products: '',
5539
5539
  userTagType: '',
5540
- profile_pic: '',
5541
- cards_admin: ''
5540
+ profile_pic: ''
5542
5541
  }),
5543
5542
  errorMsgs = _useState28[0],
5544
5543
  setErrorMsgs = _useState28[1];
@@ -6386,10 +6385,6 @@ var UserAddEdit = function UserAddEdit(props) {
6386
6385
  var allMandatoryFields = ['first_name', 'last_name', 'email'];
6387
6386
  if (cardsErrorMsg) {
6388
6387
  _isError = true;
6389
- _errorMsgs.cards_admin = "You are not authorized person to make someone admin";
6390
- } else {
6391
- _isError = false;
6392
- _errorMsgs.cards_admin = '';
6393
6388
  }
6394
6389
  allMandatoryFields.forEach(function (key, index) {
6395
6390
  if (personalInfoInput[key] === '') {