diff --git a/app/Livewire/Project/Service/Configuration.php b/app/Livewire/Project/Service/Configuration.php index c82012aaa..a55af5777 100644 --- a/app/Livewire/Project/Service/Configuration.php +++ b/app/Livewire/Project/Service/Configuration.php @@ -51,7 +51,7 @@ class Configuration extends Component $application = $this->service->applications->find($id); if ($application) { $application->restart(); - $this->dispatch('success', 'Application restarted successfully.'); + $this->dispatch('success', 'Service application restarted successfully.'); } } catch (\Exception $e) { return handleError($e, $this); @@ -64,7 +64,7 @@ class Configuration extends Component $database = $this->service->databases->find($id); if ($database) { $database->restart(); - $this->dispatch('success', 'Database restarted successfully.'); + $this->dispatch('success', 'Service database restarted successfully.'); } } catch (\Exception $e) { return handleError($e, $this); diff --git a/resources/views/livewire/project/database/heading.blade.php b/resources/views/livewire/project/database/heading.blade.php index a9e208856..07d52034f 100644 --- a/resources/views/livewire/project/database/heading.blade.php +++ b/resources/views/livewire/project/database/heading.blade.php @@ -33,7 +33,7 @@ title="Confirm Database Restart?" buttonTitle="Restart" submitAction="restart" - :actions="['This database will be restarted.', 'If the database is currently in use data could be lost.']" + :actions="['This database will be unavailable during the restart.', 'If the database is currently in use data could be lost.']" :confirmWithText="false" :confirmWithPassword="false" step2ButtonText="Restart Database" diff --git a/resources/views/livewire/project/service/configuration.blade.php b/resources/views/livewire/project/service/configuration.blade.php index 5c6fe87fd..89e070d6c 100644 --- a/resources/views/livewire/project/service/configuration.blade.php +++ b/resources/views/livewire/project/service/configuration.blade.php @@ -111,11 +111,15 @@ Settings @if (str($application->status)->contains('running')) - - This application will be unavailable during the restart.
Please think - again. -
+ @endif @@ -155,11 +159,15 @@ Settings @if (str($database->status)->contains('running')) - - This database will be unavailable during the restart.
Please think - again. -
+ @endif