Skip to content

Commit c7dc7c8

Browse files
authored
Fix ProjectMember.active conditional (#3483)
1 parent bf2deb5 commit c7dc7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/project/project-member/project-member.resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class ProjectMemberResolver {
2424
nullable: true,
2525
})
2626
active(@Parent() member: ProjectMember): boolean | null {
27-
return !member.inactiveAt.canRead ? !member.inactiveAt.value : null;
27+
return member.inactiveAt.canRead ? !member.inactiveAt.value : null;
2828
}
2929

3030
@Mutation(() => CreateProjectMemberOutput, {

0 commit comments

Comments
 (0)