fix: correct invite users notification display check

This commit is contained in:
Scott Wilson
2025-11-25 08:28:42 -08:00
parent b6231b56ad
commit 346a47abb5

View File

@@ -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"
});
}