diff --git a/src/components/PlanView.tsx b/src/components/PlanView.tsx index 79630d9..ecd1679 100644 --- a/src/components/PlanView.tsx +++ b/src/components/PlanView.tsx @@ -615,20 +615,23 @@ function PhaseHeader({ phase, onClick, active }: { phase: PhaseComputed; onClick } function TransitionHeader({ openCount, onClick }: { openCount: number; onClick: () => void }) { + const done = openCount === 0; return ( 0 ? "bg-accent text-accent-fg" : "bg-accent-soft text-accent-soft-fg" + done ? "bg-success/10 text-success" : "bg-accent text-accent-fg" }`} >
Uebergang
- {openCount > 0 ? ( + {done ? ( +
+ geprueft +
+ ) : (
{openCount} offen
- ) : ( -
pruefen
)} );