@itilite/iui-user-management 0.4.16 → 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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7753,7 +7753,7 @@ var StickyHeadTable = function StickyHeadTable(props) {
|
|
|
7753
7753
|
options.push({
|
|
7754
7754
|
label: 'Resend invite',
|
|
7755
7755
|
handler: function handler() {
|
|
7756
|
-
return toggleInviteModal(row.id);
|
|
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
|
}
|