Skip to content

Commit

Permalink
Fix result size being null
Browse files Browse the repository at this point in the history
  • Loading branch information
schmeits committed Nov 4, 2024
1 parent 1e9e839 commit 07d63b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/livewire/table-info.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</code>
</x-pulse::td>
<x-pulse::td class="text-gray-700 dark:text-gray-300 font-bold">
{{ \Illuminate\Support\Number::fileSize($result->size, maxPrecision: 3) }}
{{ \Illuminate\Support\Number::fileSize($result->size ?? 0, maxPrecision: 3) }}
</x-pulse::td>
<x-pulse::td class="text-gray-700 dark:text-gray-300 font-bold">
{{ $result->rows }}
Expand Down

0 comments on commit 07d63b7

Please sign in to comment.