diff --git a/Features/Routes/UI/Pages/Routes.razor b/Features/Routes/UI/Pages/Routes.razor index 2f74841..03cf0ce 100644 --- a/Features/Routes/UI/Pages/Routes.razor +++ b/Features/Routes/UI/Pages/Routes.razor @@ -25,40 +25,7 @@ - - @if (_displayedAliasRouteRules.Any()) - { -
-

TEC/AAR/ADR Routes

- - - @if (context.DepartureRunway is null) - { - Any - } - else - { - @context.DepartureRunway - } - - - @if (context.ArrivalRunway is null) - { - Any - } - else - { - @context.ArrivalRunway - } - - - - - - -
- } - + @if (_displayedLoaRules.Any()) {
@@ -78,7 +45,7 @@
} - + @if (_showFlightAwareLoading || _displayedFlightAwareRoutes is not null) {
@@ -176,17 +143,17 @@ .Where(r => r.DepartureAirportRegex.IsMatch(departureIcao) && r.ArrivalAirportRegex.IsMatch(arrivalIcao)); - _showFlightAwareLoading = true; + //_showFlightAwareLoading = true; //try //{ //_displayedFlightAwareRoutes = await FlightAware.FetchRoutesAsync(departureIcao, arrivalIcao); // _isFlightAwareError = false; //} //catch (Exception) - { + //{ _displayedFlightAwareRoutes = null; _isFlightAwareError = true; - } + //} _showFlightAwareLoading = false; } }