Fix create pirep errors

This commit is contained in:
Nabeel Shahzad
2018-04-10 07:22:21 -05:00
parent f54f19100c
commit e668a5089e
2 changed files with 48 additions and 38 deletions

View File

@@ -1,4 +1,4 @@
@if($pirep->read_only)
@if(!empty($pirep) && $pirep->read_only)
<div class="row">
<div class="col-sm-12">
@component('admin.components.info')