Skip to content

Commit

Permalink
Merge pull request #71 from Saifallak/patch-1
Browse files Browse the repository at this point in the history
skip display if its the same value
  • Loading branch information
noxoua authored Mar 30, 2024
2 parents 9614b48 + e32f77c commit c54a6a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/views/list/tables/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ class="!py-2"
}
$oldValue = $changes['old'][$key] ?? null;
if($field->display($oldValue, raw: true) === $field->display($newValue, raw: true)) {
// Skip display if it's the same value.
continue;
}
@endphp

<x-filament-tables::row>
Expand Down

0 comments on commit c54a6a2

Please sign in to comment.