From 1af01840c30218f7cf3e824d39cffb38134e7874 Mon Sep 17 00:00:00 2001 From: alma Date: Fri, 16 Jan 2026 23:55:21 +0100 Subject: [PATCH] Fondation --- app/missions/[missionId]/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/missions/[missionId]/page.tsx b/app/missions/[missionId]/page.tsx index e12327d..7185f53 100644 --- a/app/missions/[missionId]/page.tsx +++ b/app/missions/[missionId]/page.tsx @@ -657,7 +657,7 @@ export default function MissionDetailPage() { return true; }; return isValid(mission.rocketChatChannelId); - })() && (() => { + })() && mission.rocketChatChannelId && (() => { // Build RocketChat URL: parole.slm-lab.net/channel/[channelId] // If it's already a full URL, use it; otherwise build from ID const rocketChatUrl = mission.rocketChatChannelId.startsWith('http') @@ -692,7 +692,7 @@ export default function MissionDetailPage() { return true; }; return isValid(mission.outlineCollectionId); - })() && (() => { + })() && mission.outlineCollectionId && (() => { // Build Outline URL: chapitre.slm-lab.net/collection/[collectionId] // If it's already a full URL, use it; otherwise build from ID const outlineUrl = mission.outlineCollectionId.startsWith('http') @@ -769,7 +769,7 @@ export default function MissionDetailPage() { return true; }; return isValid(mission.leantimeProjectId); - })() && (() => { + })() && mission.leantimeProjectId && (() => { // Build Leantime URL: agilite.slm-lab.net/projects/showProject/[projectId] // If it's already a full URL, use it; otherwise build from ID const leantimeUrl = mission.leantimeProjectId.startsWith('http')