Adds condition to only process CSV if is not empty
This commit is contained in:
parent
d5598b3322
commit
8f8e5cb723
1 changed files with 2 additions and 0 deletions
|
@ -235,9 +235,11 @@
|
||||||
])
|
])
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
@if ($activeFile->first_row)
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
|
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</div><!-- /div row -->
|
</div><!-- /div row -->
|
||||||
@endforeach
|
@endforeach
|
||||||
@else
|
@else
|
||||||
|
|
Loading…
Add table
Reference in a new issue