lasthourcloud/resources/views/livewire/project/shared/storages/all.blade.php

15 lines
686 B
PHP
Raw Normal View History

2023-05-31 08:19:29 +00:00
<div>
<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' 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"
isReadOnly="{{ data_get($storage, 'is_readonly') }}"
startedAt="{{ data_get($resource, 'started_at') }}" />
2023-09-22 09:23:49 +00:00
@endif
@endforeach
2023-05-31 08:19:29 +00:00
</div>
2023-05-05 10:08:38 +00:00
</div>