chore: Update storage.blade.php view for livewire project service

This commit is contained in:
Andras Bacsai 2024-07-11 10:55:04 +02:00
parent 3ae990aa40
commit 858ae1266f

View File

@ -24,10 +24,12 @@
@if ($resource?->build_pack === 'dockercompose') @if ($resource?->build_pack === 'dockercompose')
<span class="dark:text-warning text-coollabs">Please modify storage layout in your Docker Compose <span class="dark:text-warning text-coollabs">Please modify storage layout in your Docker Compose
file or reload the compose file to reread the storage layout.</span> file or reload the compose file to reread the storage layout.</span>
@endif @else
@if ($resource->persistentStorages()->get()->count() === 0 && $resource->fileStorages()->get()->count() == 0) @if ($resource->persistentStorages()->get()->count() === 0 && $resource->fileStorages()->get()->count() == 0)
<div class="pt-4">No storage found.</div> <div class="pt-4">No storage found.</div>
@endif @endif
@endif
@if ($resource->persistentStorages()->get()->count() > 0) @if ($resource->persistentStorages()->get()->count() > 0)
<livewire:project.shared.storages.all :resource="$resource" /> <livewire:project.shared.storages.all :resource="$resource" />
@endif @endif