Places a text indicating that the file is empty and display it as an info text

This commit is contained in:
Ivan Nieto Vivanco 2023-10-23 21:57:35 -06:00
parent 8f8e5cb723
commit 49f6eef9df

View file

@ -239,6 +239,11 @@
<div class="col-md-5">
<p class="form-control-static">{{ str_limit($activeFile->first_row[$index], 50, '...') }}</p>
</div>
@else
@php
$statusText = trans('general.empty_file');
$statusType = 'info';
@endphp
@endif
</div><!-- /div row -->
@endforeach