lasthourcloud/resources/views/livewire/project/shared/storages/all.blade.php
2024-04-10 15:00:46 +02:00

14 lines
597 B
PHP

<div>
<div class="flex flex-col gap-4">
@foreach ($resource->persistentStorages as $storage)
@if ($resource->type() === 'service')
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage"
:isFirst="$loop->first" isReadOnly='true' />
@else
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage"
isReadOnly="{{ data_get($storage, 'is_readonly') }}" />
@endif
@endforeach
</div>
</div>