@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.js
CHANGED
|
@@ -1915,7 +1915,7 @@ var resetPasswordForUser = function resetPasswordForUser(data) {
|
|
|
1915
1915
|
api$1.post("" + userAddEditUrl.resetPasswordForUserApi(), {
|
|
1916
1916
|
email: data.email
|
|
1917
1917
|
}).then(function (res) {
|
|
1918
|
-
IUIToastMessageService.sNotify(
|
|
1918
|
+
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.");
|
|
1919
1919
|
resolve();
|
|
1920
1920
|
})["catch"](function (err) {
|
|
1921
1921
|
var _err$response6, _err$response6$data;
|
|
@@ -8006,6 +8006,7 @@ var UserList = function UserList(_ref) {
|
|
|
8006
8006
|
}));
|
|
8007
8007
|
};
|
|
8008
8008
|
var toggleInviteModal = function toggleInviteModal(ids, type) {
|
|
8009
|
+
console.log(type);
|
|
8009
8010
|
if (!type && (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined)) {
|
|
8010
8011
|
IUIToastMessageService$7.warningNotify('Select at least one user to invite.');
|
|
8011
8012
|
return false;
|
|
@@ -8243,7 +8244,7 @@ var UserList = function UserList(_ref) {
|
|
|
8243
8244
|
}, 'Are you sure you want to deactivate ' + Object.values(selected).flat().length.toString() + (Object.values(selected).flat().length === 1 ? ' user ?' : ' users ?')), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
|
|
8244
8245
|
className: styles$5.description
|
|
8245
8246
|
}, "The", ' ', Object.values(selected).flat().length === 1 ? ' user ' : ' users ', "won\u2019t be able to access itilite platform"))), /*#__PURE__*/React__default.createElement(iuistyles.IUIModal, {
|
|
8246
|
-
isOpen:
|
|
8247
|
+
isOpen: showInviteModal,
|
|
8247
8248
|
closeHandler: toggleInviteModal,
|
|
8248
8249
|
cancelLabel: "Cancel",
|
|
8249
8250
|
headerText: "Resend Invites?",
|