mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: correct invite users notification display check
This commit is contained in:
@@ -166,9 +166,9 @@ export const AddOrgMemberModal = ({
|
||||
// only show this notification when email is configured.
|
||||
// A [completeInviteLink] will not be sent if smtp is configured
|
||||
|
||||
if (!data.completeInviteLinks) {
|
||||
if (!data.completeInviteLinks?.length) {
|
||||
createNotification({
|
||||
text: "Successfully invited user to the organization.",
|
||||
text: "Successfully invited users to the organization.",
|
||||
type: "success"
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user