Skip to content

Commit

Permalink
fix: disabled logging empty values and enabled handling of existing e…
Browse files Browse the repository at this point in the history
…mpty values in both old and new columns
  • Loading branch information
sriramkanakam87 committed Oct 2, 2024
1 parent ceba3a9 commit f858ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/audit.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
|
*/

'empty_values' => true,
'empty_values' => false,
'allowed_empty_values' => [
'retrieved',
],
Expand Down
2 changes: 2 additions & 0 deletions resources/views/livewire/molecule-history-timeline.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<!-- Activity feed -->
<ul role="list" class="mt-6 space-y-3">
@foreach ($audit_data as $audit)
@if (array_key_exists('affected_columns', $audit))
<li class="relative flex gap-x-1">
<div class="absolute -bottom-6 left-0 top-0 flex w-6 justify-center">
<div class="w-px bg-gray-200"></div>
Expand Down Expand Up @@ -62,6 +63,7 @@
@endforeach
</div>
</li>
@endif
@endforeach
</ul>
</div>
Expand Down

0 comments on commit f858ec0

Please sign in to comment.