Skip to content

Commit

Permalink
fix(front): correct airport in ICAO FPL String (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh authored May 26, 2021
1 parent eea0870 commit a76cba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/front/src/components/IcaoFpl/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const getIcaoFpl = (flight: Flight) => {
return [
`(FPL-${flight.callsign}-${formatFlightRules(flight.flightRules)}S`,
`-1/${flight.aircraft.icaoCode}/${flight.aircraft.wakeTurbulence}-${flight.aircraft.equipment}/L1B1`,
`-${flight.arrivalIcao}${flight.estimatedOffBlockTime}`,
`-${flight.departureIcao}${flight.estimatedOffBlockTime}`,
`-${flight.cruisingSpeed}F${flight.cruisingLevel} ${flight.route}`,
`-${flight.arrivalIcao}${formatEet(flight.estimatedEnrouteMinutes)}`,
`-${flight.remarks})`
Expand Down

0 comments on commit a76cba6

Please sign in to comment.