This commit is contained in:
PxlLoewe
2025-07-08 10:53:43 -07:00
parent 754e8efc47
commit 91d706bc6b
3 changed files with 7 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ export const RecentFlights = () => {
// Find the first log with a station ID that matches the current row's station ID or use the first log if none match
const missionStartLog =
missionStartLogs?.find(
(log) => log.data.station?.id === row.original.Station.id,
(log) => log.data?.station?.id === row.original.Station.id,
) || missionStartLogs?.[0];
const missionEndLog = row.original.Mission.missionLog.find(