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