Skip to content

Commit

Permalink
Merge pull request #2 from jonahbedouch/dev
Browse files Browse the repository at this point in the history
Fix bug with completion condition
  • Loading branch information
jonahbedouch committed Nov 3, 2023
2 parents 2c522cc + 802428d commit 71af338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function getBreadthReq(candidate: CandidateData): boolean {
}

export function getProjectComplete(candidate: CandidateData): boolean {
return getPoints(candidate) > 6 && getBreadthReq(candidate);
return getPoints(candidate) >= 6 && getBreadthReq(candidate);
}

export function includesRef(array: Array<DocumentReference> | undefined, document: DocumentReference) {
Expand Down

0 comments on commit 71af338

Please sign in to comment.