@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.js
CHANGED
|
@@ -7744,16 +7744,16 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
7744
7744
|
}];
|
|
7745
7745
|
if (row && row.has_visited && row.is_active) {
|
|
7746
7746
|
options.push({
|
|
7747
|
-
label: '
|
|
7747
|
+
label: 'Reset password',
|
|
7748
7748
|
handler: function handler() {
|
|
7749
|
-
return
|
|
7749
|
+
return onResetPasswordHandler(row.email);
|
|
7750
7750
|
}
|
|
7751
7751
|
});
|
|
7752
7752
|
} else if (row && row.is_active) {
|
|
7753
7753
|
options.push({
|
|
7754
|
-
label: '
|
|
7754
|
+
label: 'Resend invite',
|
|
7755
7755
|
handler: function handler() {
|
|
7756
|
-
return
|
|
7756
|
+
return toggleInviteModal(row.id, 'single');
|
|
7757
7757
|
}
|
|
7758
7758
|
});
|
|
7759
7759
|
}
|
|
@@ -8005,8 +8005,8 @@ var UserList = function UserList(_ref) {
|
|
|
8005
8005
|
email: email
|
|
8006
8006
|
}));
|
|
8007
8007
|
};
|
|
8008
|
-
var toggleInviteModal = function toggleInviteModal(ids) {
|
|
8009
|
-
if (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined) {
|
|
8008
|
+
var toggleInviteModal = function toggleInviteModal(ids, type) {
|
|
8009
|
+
if (!type && (Object.values(selected).flat().length === 0 || Object.values(selected).flat() === undefined)) {
|
|
8010
8010
|
IUIToastMessageService$7.warningNotify('Select at least one user to invite.');
|
|
8011
8011
|
return false;
|
|
8012
8012
|
}
|