From 802428ddc72d68aed25a040cb34d4134c2d93119 Mon Sep 17 00:00:00 2001 From: Jonah Bedouch Date: Fri, 3 Nov 2023 06:33:38 -0700 Subject: [PATCH] Fix bug with completion condition --- src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 6ae7fc0..0944f2e 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -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 | undefined, document: DocumentReference) {