@itilite/iui-user-management 0.4.17 → 0.4.18
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1912,7 +1912,7 @@ var resetPasswordForUser = function resetPasswordForUser(data) {
|
|
|
1912
1912
|
api$1.post("" + userAddEditUrl.resetPasswordForUserApi(), {
|
|
1913
1913
|
email: data.email
|
|
1914
1914
|
}).then(function (res) {
|
|
1915
|
-
IUIToastMessageService.sNotify(
|
|
1915
|
+
IUIToastMessageService.sNotify("The link to reset the password has been sent to the user's email address. Check your \"junk mail\" or \"spam\" folders in case it's not received.");
|
|
1916
1916
|
resolve();
|
|
1917
1917
|
})["catch"](function (err) {
|
|
1918
1918
|
var _err$response6, _err$response6$data;
|
|
@@ -8003,6 +8003,7 @@ var UserList = function UserList(_ref) {
|
|
|
8003
8003
|
}));
|
|
8004
8004
|
};
|
|
8005
8005
|
var toggleInviteModal = function toggleInviteModal(ids, type) {
|
|
8006
|
+
console.log(type);
|
|
8006
8007
|
if (!type && (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined)) {
|
|
8007
8008
|
IUIToastMessageService$7.warningNotify('Select at least one user to invite.');
|
|
8008
8009
|
return false;
|
|
@@ -8240,7 +8241,7 @@ var UserList = function UserList(_ref) {
|
|
|
8240
8241
|
}, 'Are you sure you want to deactivate ' + Object.values(selected).flat().length.toString() + (Object.values(selected).flat().length === 1 ? ' user ?' : ' users ?')), /*#__PURE__*/React.createElement(IUITypography, {
|
|
8241
8242
|
className: styles$5.description
|
|
8242
8243
|
}, "The", ' ', Object.values(selected).flat().length === 1 ? ' user ' : ' users ', "won\u2019t be able to access itilite platform"))), /*#__PURE__*/React.createElement(IUIModal, {
|
|
8243
|
-
isOpen:
|
|
8244
|
+
isOpen: showInviteModal,
|
|
8244
8245
|
closeHandler: toggleInviteModal,
|
|
8245
8246
|
cancelLabel: "Cancel",
|
|
8246
8247
|
headerText: "Resend Invites?",
|