+
+ Créée le {formatDate(mission.createdAt)}
+
+
+
+ {/* ODD scope icon */}
+ {oddInfo.number && (
+
{
- console.log("Logo failed to load:", mission.logo);
- console.log("Full URL attempted:", mission.logo);
- // If the image fails to load, show the fallback
- (e.currentTarget as HTMLImageElement).style.display = 'none';
- // Show the fallback div
- const fallbackDiv = e.currentTarget.parentElement?.querySelector('.logo-fallback');
- if (fallbackDiv) {
- (fallbackDiv as HTMLElement).style.display = 'flex';
- }
+ // Fallback if image fails to load
+ (e.target as HTMLImageElement).style.display = 'none';
}}
/>
- ) : null}
-
- {mission.name.slice(0, 2).toUpperCase()}
-
-
-
- {oddInfo.number && (
-
- {
- // Fallback if image fails to load
- (e.target as HTMLImageElement).style.display = 'none';
- }}
- />
-