From a6407fc0c9141941d04dc0eaa29cbce63645955c Mon Sep 17 00:00:00 2001 From: alma Date: Sat, 24 May 2025 11:49:18 +0200 Subject: [PATCH] W n8n attention --- app/missions/page.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/missions/page.tsx b/app/missions/page.tsx index c4a2e185..f723a01e 100644 --- a/app/missions/page.tsx +++ b/app/missions/page.tsx @@ -24,6 +24,7 @@ interface Mission { id: string; name: string; logo?: string; + logoUrl?: string; oddScope: string[]; niveau: string; missionType: string; @@ -222,14 +223,14 @@ export default function MissionsPage() { {/* Centered Logo */}
- {mission.logo ? ( + {mission.logoUrl ? ( {mission.name} { - console.log("Logo failed to load:", mission.logo); - console.log("Full URL attempted:", mission.logo); + console.log("Logo failed to load:", mission.logoUrl); + console.log("Full URL attempted:", mission.logoUrl); // If the image fails to load, show the fallback (e.currentTarget as HTMLImageElement).style.display = 'none'; // Show the fallback div