@itilite/iui-user-management 1.4.74 → 1.4.76
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.css +4 -4
- package/dist/index.js +1 -27
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -27
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -53,7 +53,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
53
53
|
if (null == r) return {};
|
|
54
54
|
var t = {};
|
|
55
55
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
56
|
-
if (e.
|
|
56
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
57
57
|
t[n] = r[n];
|
|
58
58
|
}
|
|
59
59
|
return t;
|
|
@@ -7488,32 +7488,6 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
7488
7488
|
}()
|
|
7489
7489
|
});
|
|
7490
7490
|
});
|
|
7491
|
-
if (res.client_admin) {
|
|
7492
|
-
setTravelApproversInput(function (prevState) {
|
|
7493
|
-
var nextState = _extends({}, prevState);
|
|
7494
|
-
for (var key in nextState) {
|
|
7495
|
-
if (Object.hasOwnProperty.call(nextState, key)) {
|
|
7496
|
-
nextState[key] = {
|
|
7497
|
-
value: res.client_admin,
|
|
7498
|
-
label: res.client_admin
|
|
7499
|
-
};
|
|
7500
|
-
}
|
|
7501
|
-
}
|
|
7502
|
-
return nextState;
|
|
7503
|
-
});
|
|
7504
|
-
setExpenseApproversInput(function (prevState) {
|
|
7505
|
-
var nextState = _extends({}, prevState);
|
|
7506
|
-
for (var key in nextState) {
|
|
7507
|
-
if (Object.hasOwnProperty.call(nextState, key)) {
|
|
7508
|
-
nextState[key] = {
|
|
7509
|
-
value: res.client_admin,
|
|
7510
|
-
label: res.client_admin
|
|
7511
|
-
};
|
|
7512
|
-
}
|
|
7513
|
-
}
|
|
7514
|
-
return nextState;
|
|
7515
|
-
});
|
|
7516
|
-
}
|
|
7517
7491
|
})["catch"](function (err) {
|
|
7518
7492
|
console.log(err);
|
|
7519
7493
|
})["finally"](function () {
|