Updated Map View

This commit is contained in:
2026-06-20 22:21:17 +10:00
parent 6fad966b7e
commit 05ca994253
52 changed files with 2038 additions and 803 deletions
@@ -47,7 +47,8 @@ const CLASS_ORDER: Record<string, number> = {
'Premium Economy': 2,
'Business': 3,
'First': 4,
'Private': 5
'Private': 5,
'Crew' : 6,
}
const customKeySort = {
@@ -57,6 +58,9 @@ const customKeySort = {
airline: (a: Flight['airline'], b: Flight['airline']) => {
return (a?.iata_code ?? '').localeCompare(b?.iata_code ?? '')
},
aircraft: (a: Flight['aircraft'], b: Flight['aircraft']) => {
return (a?.designator ?? '').localeCompare(b?.designator ?? '')
},
duration: (a: any, b: any) => (a ?? 0) - (b ?? 0),
departure_airport: (a: Flight['departure_airport'], b: Flight['departure_airport']) => {
return (a?.display_code ?? '').localeCompare(b?.display_code ?? '')