@itilite/iui-user-management 0.4.22 → 0.4.24
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 +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5887,6 +5887,8 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
5887
5887
|
var _config$routes2, _config$routes2$users, _config$routes2$users2;
|
|
5888
5888
|
(config === null || config === void 0 ? void 0 : (_config$routes2 = config.routes) === null || _config$routes2 === void 0 ? void 0 : (_config$routes2$users = _config$routes2.users) === null || _config$routes2$users === void 0 ? void 0 : (_config$routes2$users2 = _config$routes2$users.list) === null || _config$routes2$users2 === void 0 ? void 0 : _config$routes2$users2.path) && history.push(config.routes.users.list.path);
|
|
5889
5889
|
}
|
|
5890
|
+
setFilesForDelete([]);
|
|
5891
|
+
setProfilePicDelete([]);
|
|
5890
5892
|
})["catch"](function (err) {
|
|
5891
5893
|
if (typeof err === 'object') {
|
|
5892
5894
|
if (err.country_code) {
|
|
@@ -6190,6 +6192,9 @@ var UserAddEdit = function UserAddEdit(props) {
|
|
|
6190
6192
|
if (!p.visibility) {
|
|
6191
6193
|
return null;
|
|
6192
6194
|
}
|
|
6195
|
+
if (p.name === 'profile_pic' && productAccess.expense) {
|
|
6196
|
+
return null;
|
|
6197
|
+
}
|
|
6193
6198
|
return /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
|
|
6194
6199
|
item: true,
|
|
6195
6200
|
sm: 12,
|
|
@@ -8550,7 +8555,7 @@ var UserList = function UserList(_ref2) {
|
|
|
8550
8555
|
if (res.status === true) {
|
|
8551
8556
|
var _res$data;
|
|
8552
8557
|
IUIToastMessageService$7.undoNotify( /*#__PURE__*/React__default.createElement(UndoButton, {
|
|
8553
|
-
|
|
8558
|
+
onUndo: function onUndo() {
|
|
8554
8559
|
return dispatch(undoneSignUpRejection(userId));
|
|
8555
8560
|
},
|
|
8556
8561
|
msg: (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.message) || 'Sign-up request rejected'
|