fix(application-management): improve stop messages for application, database, and service to enhance clarity and formatting
This commit is contained in:
@@ -110,7 +110,7 @@ class Heading extends Component
|
||||
|
||||
public function stop()
|
||||
{
|
||||
$this->dispatch('info', 'Gracefully stopping application, it could take a while depending on the application.');
|
||||
$this->dispatch('info', 'Gracefully stopping application.<br/>It could take a while depending on the application.');
|
||||
StopApplication::dispatch($this->application, false, $this->docker_cleanup);
|
||||
}
|
||||
|
||||
|
@@ -64,7 +64,7 @@ class Heading extends Component
|
||||
public function stop()
|
||||
{
|
||||
try {
|
||||
$this->dispatch('info', 'Gracefully stopping database, it could take a while depending on the size of the database.');
|
||||
$this->dispatch('info', 'Gracefully stopping database.<br/>It could take a while depending on the size of the database.');
|
||||
StopDatabase::dispatch($this->database, false, $this->docker_cleanup);
|
||||
} catch (\Exception $e) {
|
||||
$this->dispatch('error', $e->getMessage());
|
||||
|
@@ -136,7 +136,7 @@
|
||||
<script>
|
||||
$wire.$on('stopEvent', () => {
|
||||
$wire.$dispatch('info',
|
||||
'Gracefully stopping service.<br>It could take a while depending on the service.');
|
||||
'Gracefully stopping service.<br/>It could take a while depending on the service.');
|
||||
$wire.$call('stop');
|
||||
});
|
||||
$wire.$on('startEvent', async () => {
|
||||
|
Reference in New Issue
Block a user