@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.
- package/dist/index.js +2 -26
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -26
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3158,31 +3158,6 @@ var workInfo = [{
|
|
|
3158
3158
|
minLength: 0
|
|
3159
3159
|
},
|
|
3160
3160
|
disableText: 'Please get in touch with your administrator to change this value.'
|
|
3161
|
-
}, {
|
|
3162
|
-
id: 7,
|
|
3163
|
-
label: 'Manager',
|
|
3164
|
-
name: 'manager',
|
|
3165
|
-
required: false,
|
|
3166
|
-
type: 'async_select',
|
|
3167
|
-
fullWidth: false,
|
|
3168
|
-
visibility: true,
|
|
3169
|
-
readOnly: false,
|
|
3170
|
-
placeholder: 'Select manager',
|
|
3171
|
-
tabelName: 'manager',
|
|
3172
|
-
product: 'travel',
|
|
3173
|
-
loadOption: approversOptions
|
|
3174
|
-
}, {
|
|
3175
|
-
id: 8,
|
|
3176
|
-
label: 'Skip manager',
|
|
3177
|
-
name: 'skip_manager',
|
|
3178
|
-
required: false,
|
|
3179
|
-
type: 'async_select',
|
|
3180
|
-
fullWidth: false,
|
|
3181
|
-
visibility: true,
|
|
3182
|
-
readOnly: false,
|
|
3183
|
-
placeholder: 'Select manager',
|
|
3184
|
-
product: 'travel',
|
|
3185
|
-
loadOption: approversOptions
|
|
3186
3161
|
}, {
|
|
3187
3162
|
id: 9,
|
|
3188
3163
|
label: 'Base location',
|
|
@@ -6021,7 +5996,8 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6021
5996
|
}
|
|
6022
5997
|
for (var _key in employeeInfo) {
|
|
6023
5998
|
if (Object.hasOwnProperty.call(employeeInfo, _key)) {
|
|
6024
|
-
|
|
5999
|
+
console.log('employeeInfo', employeeInfoInput[_key]);
|
|
6000
|
+
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) {
|
|
6025
6001
|
_isError = true;
|
|
6026
6002
|
if (_errorArray.indexOf(_key) === -1) _errorArray.push(_key);
|
|
6027
6003
|
_errorMsgs[_key] = ErrorMessages[_key];
|