Skip to content

Commit a1c5284

Browse files
authored
Merge pull request #118 from jonathanchagas/patch-1
Update table.blade.php
2 parents d66a5d8 + 48cfeae commit a1c5284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/table.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@endif
2222
{{-- Renders all the headers --}}
2323
@foreach ($headers as $header)
24-
<th class="px-3 py-3" {{ is_object($header) && ! empty($header->with) ? 'width="' . $header->width . '"' : '' }}>
24+
<th class="px-3 py-3" {{ is_object($header) && ! empty($header->width) ? 'width=' . $header->width . '' : '' }}>
2525
@if (is_string($header))
2626
{{ $header }}
2727
@else

0 commit comments

Comments
 (0)