@itilite/iui-user-management 0.4.905 → 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 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5995,9 +5995,11 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5995
5995
|
}
|
|
5996
5996
|
}
|
|
5997
5997
|
for (var _key in employeeInfo) {
|
|
5998
|
+
console.log('key', _key);
|
|
5998
5999
|
if (Object.hasOwnProperty.call(employeeInfo, _key)) {
|
|
5999
|
-
|
|
6000
|
-
|
|
6000
|
+
var _employeeInfoInput$_k;
|
|
6001
|
+
console.log('employeeInfo0000', (_employeeInfoInput$_k = employeeInfoInput[_key]) === null || _employeeInfoInput$_k === void 0 ? void 0 : _employeeInfoInput$_k.value, 'sajkdhjasj');
|
|
6002
|
+
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) {
|
|
6001
6003
|
_isError = true;
|
|
6002
6004
|
if (_errorArray.indexOf(_key) === -1) _errorArray.push(_key);
|
|
6003
6005
|
_errorMsgs[_key] = ErrorMessages[_key];
|