fix: Unable to invite a user to a team via username (#15868)

* fix: Fix invalid existing username DB query

Signed-off-by: Souptik Datta <[email protected]>

* fix: Support adding org team member using username

Signed-off-by: Souptik Datta <[email protected]>

* fix: Remove invite by username logic and fix labe to display only email

Signed-off-by: Souptik Datta <[email protected]>

* refactor: Remove username support completely from invitation-modal component

Signed-off-by: Souptik Datta <[email protected]>

---------

Signed-off-by: Souptik Datta <[email protected]>
This commit is contained in:
Souptik Datta authored and GitHub committed 2024-07-25 07:04:44 +00:00
1 parent 33e1abf4a7
commit 3b559525a8
2 files changed
+3 -5

No files matched your search

@@ -60,7 +60,6 @@ export function InviteMemberModal(props: Props) {
}}
teamId={orgId}
isOrg={true}
justEmailInvites={!!orgId}
isPending={inviteMemberMutation.isPending}
onSubmit={(values) => {
inviteMemberMutation.mutate({