Use $current_airport

This commit is contained in:
Nabeel Shahzad
2020-09-23 14:39:10 -04:00
parent 77fe6679ce
commit 5f9b9399e9

View File

@@ -58,11 +58,7 @@
<div class="icon-background">
<i class="fas fa-map-marker icon"></i>
</div>
@if($user->current_airport)
<h3 class="header">{{ $user->curr_airport_id }}</h3>
@else
<h3 class="header">{{ $user->home_airport_id }}</h3>
@endif
<h3 class="header">{{ $current_airport }}</h3>
<h5 class="description">@lang('airports.current')</h5>
</div>
</div>