From 3e4c0cba058e45435f42dec113065717a7ad7f4b Mon Sep 17 00:00:00 2001 From: alma Date: Fri, 9 Jan 2026 14:00:15 +0100 Subject: [PATCH] Mission Refactor Big --- app/missions/[missionId]/page.tsx | 86 +++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 28 deletions(-) diff --git a/app/missions/[missionId]/page.tsx b/app/missions/[missionId]/page.tsx index 7baa6f58..ef410abc 100644 --- a/app/missions/[missionId]/page.tsx +++ b/app/missions/[missionId]/page.tsx @@ -374,6 +374,18 @@ export default function MissionDetailPage() { Général + + + Documents + {mission.attachments && mission.attachments.length > 0 && ( + + {mission.attachments.length} + + )} + )} - {/* Attachments */} - {mission.attachments && mission.attachments.length > 0 && ( -
-

Documents

-
- {mission.attachments.map((attachment) => ( - -
- -
-
-

{attachment.filename}

-

- {attachment.fileType.split('/')[1]?.toUpperCase() || 'Fichier'} -

-
-
- ))} -
-
- )} - {/* Delete Button */}