2023-05-31 08:19:29 +00:00
|
|
|
<div>
|
2023-10-03 06:48:07 +00:00
|
|
|
<div class="flex flex-col gap-4">
|
|
|
|
@foreach ($resource->persistentStorages as $storage)
|
2023-09-22 09:23:49 +00:00
|
|
|
@if ($resource->type() === 'service')
|
2023-12-07 18:06:32 +00:00
|
|
|
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage"
|
|
|
|
:isFirst="$loop->first" isReadOnly='true' />
|
2023-09-22 09:23:49 +00:00
|
|
|
@else
|
2024-04-10 13:00:46 +00:00
|
|
|
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage"
|
|
|
|
isReadOnly="{{ data_get($storage, 'is_readonly') }}" />
|
2023-09-22 09:23:49 +00:00
|
|
|
@endif
|
2023-10-03 06:48:07 +00:00
|
|
|
@endforeach
|
2023-05-31 08:19:29 +00:00
|
|
|
</div>
|
2023-05-05 10:08:38 +00:00
|
|
|
</div>
|