Skip to content

Commit

Permalink
Merge pull request #118 from jonathanchagas/patch-1
Browse files Browse the repository at this point in the history
Update table.blade.php
  • Loading branch information
Gustavinho authored Jun 21, 2021
2 parents d66a5d8 + 48cfeae commit a1c5284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/table.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@endif
{{-- Renders all the headers --}}
@foreach ($headers as $header)
<th class="px-3 py-3" {{ is_object($header) && ! empty($header->with) ? 'width="' . $header->width . '"' : '' }}>
<th class="px-3 py-3" {{ is_object($header) && ! empty($header->width) ? 'width=' . $header->width . '' : '' }}>
@if (is_string($header))
{{ $header }}
@else
Expand Down

0 comments on commit a1c5284

Please sign in to comment.