@itilite/iui-user-management 0.4.15 → 0.4.17
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 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7741,16 +7741,16 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
7741
7741
|
}];
|
|
7742
7742
|
if (row && row.has_visited && row.is_active) {
|
|
7743
7743
|
options.push({
|
|
7744
|
-
label: '
|
|
7744
|
+
label: 'Reset password',
|
|
7745
7745
|
handler: function handler() {
|
|
7746
|
-
return
|
|
7746
|
+
return onResetPasswordHandler(row.email);
|
|
7747
7747
|
}
|
|
7748
7748
|
});
|
|
7749
7749
|
} else if (row && row.is_active) {
|
|
7750
7750
|
options.push({
|
|
7751
|
-
label: '
|
|
7751
|
+
label: 'Resend invite',
|
|
7752
7752
|
handler: function handler() {
|
|
7753
|
-
return
|
|
7753
|
+
return toggleInviteModal(row.id, 'single');
|
|
7754
7754
|
}
|
|
7755
7755
|
});
|
|
7756
7756
|
}
|
|
@@ -8002,8 +8002,8 @@ var UserList = function UserList(_ref) {
|
|
|
8002
8002
|
email: email
|
|
8003
8003
|
}));
|
|
8004
8004
|
};
|
|
8005
|
-
var toggleInviteModal = function toggleInviteModal(ids) {
|
|
8006
|
-
if (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined) {
|
|
8005
|
+
var toggleInviteModal = function toggleInviteModal(ids, type) {
|
|
8006
|
+
if (!type && (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined)) {
|
|
8007
8007
|
IUIToastMessageService$7.warningNotify('Select at least one user to invite.');
|
|
8008
8008
|
return false;
|
|
8009
8009
|
}
|