Skip to content

Commit

Permalink
Merge pull request #613 from bellodamilola/fix/client-invite
Browse files Browse the repository at this point in the history
fix(client): disable input when user joins via an invite link
  • Loading branch information
vplasencia authored Dec 2, 2024
2 parents 1b47a32 + fe2346e commit 6afc828
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/client/src/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ export default function HomePage(): JSX.Element {
onChange={(event) =>
setInviteCode(event.target.value)
}
disabled={
!!_searchParams.get("credentialGroupId")
}
/>
</VStack>

Expand All @@ -213,6 +216,7 @@ export default function HomePage(): JSX.Element {
onChange={(event) =>
setCredentialGroupId(event.target.value)
}
disabled={!!_searchParams.get("inviteCode")}
/>
</VStack>

Expand Down

0 comments on commit 6afc828

Please sign in to comment.