diff --git a/components/ui/Header.tsx b/components/ui/Header.tsx index 9388936..4e0b813 100644 --- a/components/ui/Header.tsx +++ b/components/ui/Header.tsx @@ -9,6 +9,8 @@ interface HeaderProps { completed: number; inProgress: number; todo: number; + cancelled: number; + freeze: number; completionRate: number; }; syncing?: boolean; @@ -61,21 +63,41 @@ export function Header({ title, subtitle, stats, syncing = false }: HeaderProps) value={String(stats.total).padStart(2, '0')} color="blue" /> - - - + {stats.completed > 0 && ( + + )} + {stats.inProgress > 0 && ( + + )} + {stats.todo > 0 && ( + + )} + {stats.freeze > 0 && ( + + )} + {stats.cancelled > 0 && ( + + )}