check if airport exists

This commit is contained in:
Nabeel Shahzad 2018-02-10 20:30:11 -06:00
parent 3aa01aaa18
commit 176855b680

View File

@ -27,7 +27,11 @@
</div>
<div class="content content-center">
<div class="social-description text-center text-white">
<h2 class="description text-white">{!! $user->home_airport->icao !!}</h2>
<h2 class="description text-white">
@if(filled($user->home_airport))
{!! $user->home_airport->icao !!}
@endif
</h2>
</div>
</div>
<div class="footer text-center">