mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 01:27:31 +00:00
fix: correct invite users notification display check
This commit is contained in:
+2
-2
@@ -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