Skip to content

Commit

Permalink
Fully assessed application without final assessment shows under asses…
Browse files Browse the repository at this point in the history
…sment
  • Loading branch information
JamesHuf committed Jan 22, 2025
1 parent c7742e5 commit 09d1757
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions apps/web/src/utils/poolCandidate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,20 @@ export const getApplicationStatusChip = (
};
}

// Fully assessed but final decision not yet made
if (
assessmentStatus?.overallAssessmentStatus ===
OverallAssessmentStatus.Qualified
) {
return {
color: "secondary",
label: intl.formatMessage(applicationStatusLabels.UNDER_ASSESSMENT),
description: intl.formatMessage(
applicationStatusDescriptions.UNDER_ASSESSMENT,
),
};
}

// Partially assessed applications
const currentStep = assessmentStatus?.currentStep
? assessmentStatus?.currentStep
Expand Down

0 comments on commit 09d1757

Please sign in to comment.