Skip to content

Commit 4ca0221

Browse files
committed
fix: show apply copilot only for projects where user is not a member
1 parent 5396629 commit 4ca0221

File tree

1 file changed

+1
-1
lines changed
  • src/apps/copilots/src/pages/copilot-opportunity-details

1 file changed

+1
-1
lines changed

src/apps/copilots/src/pages/copilot-opportunity-details/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const CopilotOpportunityDetails: FC<{}> = () => {
125125
}
126126

127127
const application = copilotApplications && copilotApplications[0]
128-
const isAlreadyMemberOfTheProject = profile && opportunity?.members?.includes(profile.userId);
128+
const isAlreadyMemberOfTheProject = profile && opportunity?.members?.includes(profile.userId)
129129

130130
return (
131131
<ContentLayout

0 commit comments

Comments
 (0)