diff --git a/app/Livewire/Project/Application/Heading.php b/app/Livewire/Project/Application/Heading.php index 62c93611e..5231438e5 100644 --- a/app/Livewire/Project/Application/Heading.php +++ b/app/Livewire/Project/Application/Heading.php @@ -58,6 +58,11 @@ public function checkStatus() } } + public function manualCheckStatus() + { + $this->checkStatus(); + } + public function force_deploy_without_cache() { $this->authorize('deploy', $this->application); diff --git a/app/Livewire/Project/Database/Heading.php b/app/Livewire/Project/Database/Heading.php index 6a287f8cc..8d3d8e294 100644 --- a/app/Livewire/Project/Database/Heading.php +++ b/app/Livewire/Project/Database/Heading.php @@ -62,6 +62,11 @@ public function checkStatus() } } + public function manualCheckStatus() + { + $this->checkStatus(); + } + public function mount() { $this->parameters = get_route_parameters(); diff --git a/app/Livewire/Project/Service/Heading.php b/app/Livewire/Project/Service/Heading.php index 3492da324..c8a08d8f9 100644 --- a/app/Livewire/Project/Service/Heading.php +++ b/app/Livewire/Project/Service/Heading.php @@ -54,6 +54,11 @@ public function checkStatus() } } + public function manualCheckStatus() + { + $this->checkStatus(); + } + public function serviceChecked() { try { diff --git a/resources/views/components/status/index.blade.php b/resources/views/components/status/index.blade.php index 65beace65..d592cff79 100644 --- a/resources/views/components/status/index.blade.php +++ b/resources/views/components/status/index.blade.php @@ -13,14 +13,14 @@ @endif @if (!str($resource->status)->contains('exited') && $showRefreshButton) - -