@itilite/iui-user-management 0.4.904 → 0.4.906
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 +4 -26
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -26
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -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',
|
|
@@ -6017,8 +5992,11 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6017
5992
|
}
|
|
6018
5993
|
}
|
|
6019
5994
|
for (var _key in employeeInfo) {
|
|
5995
|
+
console.log('key', _key);
|
|
6020
5996
|
if (Object.hasOwnProperty.call(employeeInfo, _key)) {
|
|
6021
|
-
|
|
5997
|
+
var _employeeInfoInput$_k;
|
|
5998
|
+
console.log('employeeInfo0000', (_employeeInfoInput$_k = employeeInfoInput[_key]) === null || _employeeInfoInput$_k === void 0 ? void 0 : _employeeInfoInput$_k.value, 'sajkdhjasj');
|
|
5999
|
+
if (employeeInfo[_key] === false && employeeInfoInput[_key] !== undefined && (typeof employeeInfoInput[_key] === 'string' && !employeeInfoInput[_key] || typeof employeeInfoInput[_key] === 'object' && !employeeInfoInput[_key].value || !employeeInfoInput[_key].value) === '' && fieldsVisibility.employee_info[_key] !== 2) {
|
|
6022
6000
|
_isError = true;
|
|
6023
6001
|
if (_errorArray.indexOf(_key) === -1) _errorArray.push(_key);
|
|
6024
6002
|
_errorMsgs[_key] = ErrorMessages[_key];
|