From 6bec56ca1c228e785d42bc637c52fd765ba855d8 Mon Sep 17 00:00:00 2001 From: Nate Geslin Date: Wed, 16 Nov 2016 20:14:53 -0600 Subject: [PATCH] bugfix/ATC-108 - Adds .toUpperCase() to .getFollowingSTARText() method --- src/assets/scripts/aircraft/AircraftFlightManagementSystem.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/assets/scripts/aircraft/AircraftFlightManagementSystem.js b/src/assets/scripts/aircraft/AircraftFlightManagementSystem.js index 85a6a299..785d1272 100644 --- a/src/assets/scripts/aircraft/AircraftFlightManagementSystem.js +++ b/src/assets/scripts/aircraft/AircraftFlightManagementSystem.js @@ -988,7 +988,9 @@ export default class AircraftFlightManagementSystem { return null; } - return `${this.following.star}.${window.airportController.airport_get().icao}`; + const { icao } = window.airportController.airport_get(); + + return `${this.following.star}.${icao.toUpperCase()}`; } /**