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"
|
2025-09-11 11:41:22 +00:00
|
|
|
:resource="$resource" :isFirst="$storage->id === $this->firstStorageId" isService='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"
|
2025-09-11 11:41:22 +00:00
|
|
|
:resource="$resource" :isFirst="$storage->id === $this->firstStorageId" startedAt="{{ data_get($resource, 'started_at') }}" />
|
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>
|