+
);
}
- if (!tablo) {
- return null;
- }
+ if (!tablo) return null;
+ const { label: statusLabel, badgeClass, progress } = getStatusConfig(tablo.status);
const isAdmin = tablo.is_admin;
- const navigationItems: Array<{
- id: TabSection;
- label: string;
- icon: React.ReactNode;
- }> = [
- {
- id: "overview",
- label: "Vue d'ensemble",
- icon:
,
- },
- {
- id: "tasks",
- label: "Tâches",
- icon:
,
- },
- {
- id: "files",
- label: "Fichiers",
- icon:
,
- },
- {
- id: "discussion",
- label: "Discussion",
- icon:
,
- },
- // Notes feature temporarily hidden
- // {
- // id: "notes",
- // label: "Notes",
- // icon:
,
- // },
- {
- id: "events",
- label: "Événements",
- icon:
,
- },
- ];
-
return (
-
- {/* Left Sidebar Navigation */}
-