From 858ae1266fe8964b59aa370d77bf7a92e2db0e5c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 11 Jul 2024 10:55:04 +0200 Subject: [PATCH] chore: Update storage.blade.php view for livewire project service --- .../views/livewire/project/service/storage.blade.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/views/livewire/project/service/storage.blade.php b/resources/views/livewire/project/service/storage.blade.php index bd56f3493..b71d7ea94 100644 --- a/resources/views/livewire/project/service/storage.blade.php +++ b/resources/views/livewire/project/service/storage.blade.php @@ -16,7 +16,7 @@ name, example: -pr-1" /> @if ($resource?->build_pack !== 'dockercompose') - + @endif @@ -24,10 +24,12 @@ @if ($resource?->build_pack === 'dockercompose') Please modify storage layout in your Docker Compose file or reload the compose file to reread the storage layout. + @else + @if ($resource->persistentStorages()->get()->count() === 0 && $resource->fileStorages()->get()->count() == 0) +
No storage found.
+ @endif @endif - @if ($resource->persistentStorages()->get()->count() === 0 && $resource->fileStorages()->get()->count() == 0) -
No storage found.
- @endif + @if ($resource->persistentStorages()->get()->count() > 0) @endif