diff --git a/resources/views/components/notification/channel-actions.blade.php b/resources/views/components/notification/channel-actions.blade.php index 677b4b0c6f..37f7ee963f 100644 --- a/resources/views/components/notification/channel-actions.blade.php +++ b/resources/views/components/notification/channel-actions.blade.php @@ -13,12 +13,17 @@ toggleMethod: @js($toggleMethod), testMethod: @js($testMethod), }"> - - {{ $enabled ? 'Disable' : 'Enable' }} + {{ $enabled ? 'Disable' : 'Enable' }} diff --git a/resources/views/livewire/project/database/heading.blade.php b/resources/views/livewire/project/database/heading.blade.php index 2d28510165..769e7ecdb2 100644 --- a/resources/views/livewire/project/database/heading.blade.php +++ b/resources/views/livewire/project/database/heading.blade.php @@ -57,7 +57,8 @@ - + @@ -77,9 +78,11 @@ @can('manage', $database) @if (! $databaseStatus->startsWith('exited')) - - - Restart + + + + Restart @@ -87,9 +90,10 @@ Stop @else - - - Start + + + + Start @endif @@ -107,9 +111,11 @@ @can('manage', $database) @if (! $databaseStatus->startsWith('exited')) - - - Restart + + + + Restart @@ -117,9 +123,10 @@ Stop @else - - - Start + + + + Start @endif @@ -162,14 +169,23 @@ @script @endscript diff --git a/resources/views/livewire/project/service/heading.blade.php b/resources/views/livewire/project/service/heading.blade.php index 8c6531f3bc..820163ddb1 100644 --- a/resources/views/livewire/project/service/heading.blade.php +++ b/resources/views/livewire/project/service/heading.blade.php @@ -65,7 +65,8 @@ - + @@ -95,8 +96,9 @@ @elseif ($serviceStatus->contains('running') || $serviceStatus->contains('degraded')) - - Restart + + + Restart @if ($serviceStatus->contains('running')) contains('running') || $serviceStatus->contains('degraded')) - - Restart + + + Restart @if ($serviceStatus->contains('running')) It could take a while depending on the service.'); - $wire.$call('restart'); + try { + await $wire.$call('restart'); + } finally { + window.dispatchEvent(new CustomEvent('service-deploy-finished')); + } }); $wire.$on('forceDeployEvent', () => $wire.$call('forceDeploy')); $wire.$on('pullAndRestartEvent', () => {