Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit b0c1da9

Browse files
author
Eric Rosenborg
committed
Merge branch 'develop'
2 parents 9546489 + 8f13d1f commit b0c1da9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Component/Table/table.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
<tbody class="{{$baseClass}}__body">
2121
@foreach($list as $row)
22-
<tr class="{{$baseClass}}__line {{$baseClass}}__line-{{ $loop->index }}">
23-
@foreach($row as $column)
22+
<tr class="{{$baseClass}}__line {{$baseClass}}__line-{{ $loop->index }}" @if(isset($row['href'])) js-row-href={{$row['href']}} @endif>
23+
@foreach($row['columns'] as $column)
2424
<td scope="row" class="{{$baseClass}}__column {{$baseClass}}__column-{{ $loop->index }}">{{ $column }}</td>
2525
@endforeach
2626
</tr>

0 commit comments

Comments
 (0)