mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
refactor(storage): simplify file storage iteration in Blade template
This commit is contained in:
1 parent
1fcfac07b1
commit
41205b7ad2
1 file changed
+2
-3
@@ -37,9 +37,8 @@
|
||||
@endif
|
||||
@if ($fileStorage->count() > 0)
|
||||
<div class="flex flex-col gap-2">
|
||||
@foreach ($fileStorage->sort() as $fileStorage)
|
||||
<livewire:project.service.file-storage :fileStorage="$fileStorage"
|
||||
wire:key="resource-{{ $fileStorage->uuid }}" />
|
||||
@foreach ($fileStorage as $fs)
|
||||
<livewire:project.service.file-storage :fileStorage="$fs" wire:key="resource-{{ $fs->uuid }}" />
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in new issue
Block a user