Skip to content

Commit

Permalink
Places a text indicating that the file is empty and display it as an …
Browse files Browse the repository at this point in the history
…info text
  • Loading branch information
inietov committed Oct 24, 2023
1 parent 8f8e5cb commit 49f6eef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/views/livewire/importer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ class="col-md-12 table table-striped snipe-table">
<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
Expand Down

0 comments on commit 49f6eef

Please sign in to comment.