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