@itilite/iui-user-management 0.4.19 → 0.4.21

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.
@@ -3025,32 +3025,8 @@ var workInfo = [{
3025
3025
  minLength: 0
3026
3026
  },
3027
3027
  disableText: 'Please get in touch with your administrator to change this value.'
3028
- }, {
3029
- id: 7,
3030
- label: 'Manager',
3031
- name: 'manager',
3032
- required: false,
3033
- type: 'async_select',
3034
- fullWidth: false,
3035
- visibility: true,
3036
- readOnly: false,
3037
- placeholder: 'Select manager',
3038
- tabelName: 'manager',
3039
- product: 'travel',
3040
- loadOption: approversOptions
3041
- }, {
3042
- id: 8,
3043
- label: 'Skip manager',
3044
- name: 'skip manager',
3045
- required: false,
3046
- type: 'async_select',
3047
- fullWidth: false,
3048
- visibility: true,
3049
- readOnly: false,
3050
- placeholder: 'Select manager',
3051
- product: 'travel',
3052
- loadOption: approversOptions
3053
- }, {
3028
+ },
3029
+ {
3054
3030
  id: 9,
3055
3031
  label: 'Base location',
3056
3032
  name: 'base_location',
@@ -5248,11 +5224,7 @@ var UserAddEdit = function UserAddEdit(props) {
5248
5224
  };
5249
5225
  var onMemInfoInputChange = function onMemInfoInputChange(index, key, val) {
5250
5226
  var _membershipInfoInput = [].concat(membershipInfoInput);
5251
- if (_membershipInfoInput[index].membership_type === 'flight' && key === 'name') {
5252
- _membershipInfoInput[index][key] = val.label;
5253
- } else {
5254
- _membershipInfoInput[index][key] = val;
5255
- }
5227
+ _membershipInfoInput[index][key] = val;
5256
5228
  _membershipInfoInput[index].isEditMode = isEditMode;
5257
5229
  setMembershipInfoInput(_membershipInfoInput);
5258
5230
  };
@@ -8615,7 +8587,6 @@ var UserList = function UserList(_ref) {
8615
8587
  var handleRejectUserClick = function handleRejectUserClick(userId) {
8616
8588
  dispatch(rejectUserVerification(userId)).then(function (res) {
8617
8589
  var _res$data;
8618
- console.log(res);
8619
8590
  IUIToastMessageService$7.undoNotify( /*#__PURE__*/React.createElement(UndoButton, {
8620
8591
  msg: (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.message) || 'Sign-up request rejected',
8621
8592
  id: userId