Skip to content

Commit

Permalink
media size issue solved..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Feb 13, 2024
1 parent edccc68 commit 74a5115
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/media/file.blade.php
Expand Up @@ -17,7 +17,7 @@
</span>

<span class="text-xs mb-0">
{{ is_int($file->size ) ? '0 B' : $file->readableSize() }}
{{ ! is_int($file->size) ? '0 B' : $file->readableSize() }}
</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/modals/invoices/email.blade.php
Expand Up @@ -115,7 +115,7 @@ class="rounded-sm text-purple border-gray-300 cursor-pointer disabled:bg-gray-20
</x-table.td>

<x-table.td class="w-1/6">
{{ is_int($attachment->size ) ? '0 B' : $attachment->readableSize() }}
{{ ! is_int($attachment->size) ? '0 B' : $attachment->readableSize() }}
</x-table.td>
</x-table.tr>
@endforeach
Expand Down
2 changes: 1 addition & 1 deletion resources/views/modals/transactions/email.blade.php
Expand Up @@ -115,7 +115,7 @@ class="rounded-sm text-purple border-gray-300 cursor-pointer disabled:bg-gray-20
</x-table.td>

<x-table.td class="w-1/6">
{{ is_int($attachment->size ) ? '0 B' : $attachment->readableSize() }}
{{ ! is_int($attachment->size) ? '0 B' : $attachment->readableSize() }}
</x-table.td>
</x-table.tr>
@endforeach
Expand Down

0 comments on commit 74a5115

Please sign in to comment.