@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.
package/dist/index.js CHANGED
@@ -3028,32 +3028,8 @@ var workInfo = [{
3028
3028
  minLength: 0
3029
3029
  },
3030
3030
  disableText: 'Please get in touch with your administrator to change this value.'
3031
- }, {
3032
- id: 7,
3033
- label: 'Manager',
3034
- name: 'manager',
3035
- required: false,
3036
- type: 'async_select',
3037
- fullWidth: false,
3038
- visibility: true,
3039
- readOnly: false,
3040
- placeholder: 'Select manager',
3041
- tabelName: 'manager',
3042
- product: 'travel',
3043
- loadOption: approversOptions
3044
- }, {
3045
- id: 8,
3046
- label: 'Skip manager',
3047
- name: 'skip manager',
3048
- required: false,
3049
- type: 'async_select',
3050
- fullWidth: false,
3051
- visibility: true,
3052
- readOnly: false,
3053
- placeholder: 'Select manager',
3054
- product: 'travel',
3055
- loadOption: approversOptions
3056
- }, {
3031
+ },
3032
+ {
3057
3033
  id: 9,
3058
3034
  label: 'Base location',
3059
3035
  name: 'base_location',
@@ -5251,11 +5227,7 @@ var UserAddEdit = function UserAddEdit(props) {
5251
5227
  };
5252
5228
  var onMemInfoInputChange = function onMemInfoInputChange(index, key, val) {
5253
5229
  var _membershipInfoInput = [].concat(membershipInfoInput);
5254
- if (_membershipInfoInput[index].membership_type === 'flight' && key === 'name') {
5255
- _membershipInfoInput[index][key] = val.label;
5256
- } else {
5257
- _membershipInfoInput[index][key] = val;
5258
- }
5230
+ _membershipInfoInput[index][key] = val;
5259
5231
  _membershipInfoInput[index].isEditMode = isEditMode;
5260
5232
  setMembershipInfoInput(_membershipInfoInput);
5261
5233
  };
@@ -8618,7 +8590,6 @@ var UserList = function UserList(_ref) {
8618
8590
  var handleRejectUserClick = function handleRejectUserClick(userId) {
8619
8591
  dispatch(rejectUserVerification(userId)).then(function (res) {
8620
8592
  var _res$data;
8621
- console.log(res);
8622
8593
  IUIToastMessageService$7.undoNotify( /*#__PURE__*/React__default.createElement(UndoButton, {
8623
8594
  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',
8624
8595
  id: userId