Fix data not showing up for live map (#1223)
* Fix data not showing up for live map * StyleCI fixes
This commit is contained in:
@@ -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) }}"
|
||||
|
||||
@@ -28,9 +28,7 @@
|
||||
|
||||
A couple of places (like the distance) use both to output the correct bindings.
|
||||
--}}
|
||||
<div id="map-info-box" class="map-info-box"
|
||||
rv-show="pirep.id"
|
||||
style="width: {{ $config['width'] }};">
|
||||
<div id="map-info-box" class="map-info-box" rv-show="pirep.id" style="width: {{ $config['width'] }};">
|
||||
<div style="float: left; width: 50%;">
|
||||
<h3 style="margin: 0" id="map_flight_id">
|
||||
<a rv-href="pirep.id | prepend '{{url('/pireps/')}}/'" target="_blank">
|
||||
|
||||
Reference in New Issue
Block a user