@itilite/iui-user-management 0.4.904 → 0.4.905

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.
@@ -3155,31 +3155,6 @@ var workInfo = [{
3155
3155
  minLength: 0
3156
3156
  },
3157
3157
  disableText: 'Please get in touch with your administrator to change this value.'
3158
- }, {
3159
- id: 7,
3160
- label: 'Manager',
3161
- name: 'manager',
3162
- required: false,
3163
- type: 'async_select',
3164
- fullWidth: false,
3165
- visibility: true,
3166
- readOnly: false,
3167
- placeholder: 'Select manager',
3168
- tabelName: 'manager',
3169
- product: 'travel',
3170
- loadOption: approversOptions
3171
- }, {
3172
- id: 8,
3173
- label: 'Skip manager',
3174
- name: 'skip_manager',
3175
- required: false,
3176
- type: 'async_select',
3177
- fullWidth: false,
3178
- visibility: true,
3179
- readOnly: false,
3180
- placeholder: 'Select manager',
3181
- product: 'travel',
3182
- loadOption: approversOptions
3183
3158
  }, {
3184
3159
  id: 9,
3185
3160
  label: 'Base location',
@@ -6018,7 +5993,8 @@ var UserAddEdit = function UserAddEdit(props) {
6018
5993
  }
6019
5994
  for (var _key in employeeInfo) {
6020
5995
  if (Object.hasOwnProperty.call(employeeInfo, _key)) {
6021
- if (employeeInfo[_key] === false && employeeInfoInput[_key] !== undefined && (typeof employeeInfoInput[_key] === 'string' && !employeeInfoInput[_key] || typeof employeeInfoInput[_key] === 'object' && !employeeInfoInput[_key].value) && fieldsVisibility.employee_info[_key] !== 2) {
5996
+ console.log('employeeInfo', employeeInfoInput[_key]);
5997
+ if (employeeInfo[_key] === false && employeeInfoInput[_key] !== undefined && (typeof employeeInfoInput[_key] === 'string' && !employeeInfoInput[_key] || typeof employeeInfoInput[_key] === 'object' && employeeInfoInput[_key].value) && fieldsVisibility.employee_info[_key] !== 2) {
6022
5998
  _isError = true;
6023
5999
  if (_errorArray.indexOf(_key) === -1) _errorArray.push(_key);
6024
6000
  _errorMsgs[_key] = ErrorMessages[_key];