Skip to content

Commit

Permalink
Fixed null display value issue
Browse files Browse the repository at this point in the history
  • Loading branch information
balajidharma committed Nov 10, 2024
1 parent 8a07ba1 commit d2b8d2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/list.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
@foreach($items as $item)
<tr>
@foreach ($fields as $field)
@isset($item->display_values[$field['attribute']])
@if(array_key_exists($field['attribute'],$item->display_values))
<td class="p-4">
{!! $item->display_values[$field['attribute']] !!}
</td>
@endisset
@endif
@endforeach
@canany(['adminUpdate', 'adminDelete'], $item)
<td class="p-4">
Expand Down

0 comments on commit d2b8d2c

Please sign in to comment.