Fix data not showing up for live map (#1223)

* Fix data not showing up for live map

* StyleCI fixes
This commit is contained in:
Nabeel S
2021-06-04 16:57:27 -04:00
committed by GitHub
parent 48cada2053
commit 96d33c11c8
15 changed files with 92 additions and 549 deletions
@@ -15,7 +15,7 @@
class="btn btn-outline-info">View SimBrief</a>
@endif
@if(!$pirep->read_only && $pirep->user_id === $user->id)
@if(!$pirep->read_only && $user && $pirep->user_id === $user->id)
<div class="float-right" style="margin-bottom: 10px;">
<form method="get"
action="{{ route('frontend.pireps.edit', $pirep->id) }}"