Skip to content

Commit

Permalink
desired position for the candidate card
Browse files Browse the repository at this point in the history
  • Loading branch information
Corrigan14 committed Nov 2, 2023
1 parent 4be4184 commit 983c306
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/app/(site)/company/candidates/candidateCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const CandidateCard: React.FC<CandidateProps> = ({
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
.join(" ");
};
console.log(candidate);
return (
<Grid item xs={12} sm={6} md={4} lg={4}>
<Card
Expand Down Expand Up @@ -114,7 +115,9 @@ export const CandidateCard: React.FC<CandidateProps> = ({
lineHeight: "20px",
}}
>
Desired position
{candidate.current_position
? candidate.current_position
: "Desired position"}
</Typography>
</CardContent>
<CardContent
Expand Down
1 change: 1 addition & 0 deletions frontend/src/app/(site)/company/candidates/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface CandidateForJobList {
notice_period: number;
soft_skills_match_score: number;
hard_skills_match_score: number;
current_position?: string;
}

export interface MatchedCandidate {
Expand Down

0 comments on commit 983c306

Please sign in to comment.