diff --git a/resources/views/livewire/project/shared/destination.blade.php b/resources/views/livewire/project/shared/destination.blade.php index 97e978e7a..6c0aa1d68 100644 --- a/resources/views/livewire/project/shared/destination.blade.php +++ b/resources/views/livewire/project/shared/destination.blade.php @@ -63,13 +63,14 @@ Stop @endif - + shortConfirmationLabel="Server Name" step3ButtonText="Remove application from server" /> @endforeach @@ -77,7 +78,24 @@ @if ($resource->getMorphClass() === 'App\Models\Application' && data_get($resource, 'build_pack') !== 'dockercompose')
- @if (count($networks) > 0) + @if ($resource->persistentStorages()->count() > 0) +

Add another server

+
+
+ +
+

Cannot add additional + servers

+

+ This application has persistent storage volumes configured. Applications with persistent + storage cannot be deployed to multiple servers as the storage would not be accessible + across different servers. +

+
+
+
+ @elseif (count($networks) > 0)

Add another server

@foreach ($networks as $network)