Add candidateTeam field to evaluations; update related components and API endpoints for consistency
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
interface CandidateFormProps {
|
||||
candidateName: string;
|
||||
candidateRole: string;
|
||||
candidateTeam?: string;
|
||||
evaluatorName: string;
|
||||
evaluationDate: string;
|
||||
templateId: string;
|
||||
@@ -20,6 +21,7 @@ const labelClass = "mb-0.5 block text-xs font-medium text-zinc-600 dark:text-zin
|
||||
export function CandidateForm({
|
||||
candidateName,
|
||||
candidateRole,
|
||||
candidateTeam = "",
|
||||
evaluatorName,
|
||||
evaluationDate,
|
||||
templateId,
|
||||
@@ -52,6 +54,17 @@ export function CandidateForm({
|
||||
placeholder="ML Engineer"
|
||||
/>
|
||||
</div>
|
||||
<div className="min-w-[140px]">
|
||||
<label className={labelClass}>Équipe</label>
|
||||
<input
|
||||
type="text"
|
||||
value={candidateTeam}
|
||||
onChange={(e) => onChange("candidateTeam", e.target.value)}
|
||||
className={inputClass}
|
||||
disabled={disabled}
|
||||
placeholder="Cars Front"
|
||||
/>
|
||||
</div>
|
||||
<div className="min-w-[120px]">
|
||||
<label className={labelClass}>Évaluateur</label>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user