diff --git a/src/components/DashboardClient.tsx b/src/components/DashboardClient.tsx index 4560856..40e87a5 100644 --- a/src/components/DashboardClient.tsx +++ b/src/components/DashboardClient.tsx @@ -21,6 +21,7 @@ interface EvalRow { evaluationDate: string; template?: { name: string; dimensions?: Dimension[] }; status: string; + isPublic?: boolean; dimensionScores?: { dimensionId: string; score: number | null; dimension?: { title: string } }[]; } @@ -86,13 +87,20 @@ function EvalCard({ {e.candidateTeam && ` · ${e.candidateTeam}`}

- - {e.status === "submitted" ? "ok" : "draft"} - +
+ {!e.isPublic && ( + + privé + + )} + + {e.status === "submitted" ? "ok" : "draft"} + +
{e.evaluatorName}