mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: invite form opening state
This commit is contained in:
@@ -159,7 +159,9 @@ export const AddOrgMemberModal = ({
|
||||
)
|
||||
);
|
||||
|
||||
setCompleteInviteLinks(data?.completeInviteLinks ?? null);
|
||||
if (data?.completeInviteLinks && data?.completeInviteLinks.length > 0) {
|
||||
setCompleteInviteLinks(data.completeInviteLinks);
|
||||
}
|
||||
|
||||
// only show this notification when email is configured.
|
||||
// A [completeInviteLink] will not be sent if smtp is configured
|
||||
|
||||
Reference in New Issue
Block a user