An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
chore: Update navbar and configuration to improve service status check functionality
Andras Bacsaic9a7af0ffadb
diff --git a/app/Livewire/Project/Service/Navbar.php b/app/Livewire/Project/Service/Navbar.phpindex 419fef5059..674182df51 100644--- a/app/Livewire/Project/Service/Navbar.php+++ b/app/Livewire/Project/Service/Navbar.php@@ -49,6 +49,11 @@ class Navbar extends Component}}+ public function check_status_without_notification()+ {+ $this->dispatch('check_status');+ }+public function check_status(){$this->dispatch('check_status');diff --git a/resources/views/livewire/project/service/configuration.blade.php b/resources/views/livewire/project/service/configuration.blade.phpindex b9282dc91d..5c6fe87fd5 100644--- a/resources/views/livewire/project/service/configuration.blade.php+++ b/resources/views/livewire/project/service/configuration.blade.php@@ -1,4 +1,4 @@-<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'service-stack' }" x-init="$wire.check_status" wire:poll.5000ms="check_status">+<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'service-stack' }" x-init="$wire.check_status"><x-slot:title>{{ data_get_str($service, 'name')->limit(10) }} > Configuration | Coolify</x-slot>diff --git a/resources/views/livewire/project/service/navbar.blade.php b/resources/views/livewire/project/service/navbar.blade.phpindex 2e656b131b..125f9121ab 100644--- a/resources/views/livewire/project/service/navbar.blade.php+++ b/resources/views/livewire/project/service/navbar.blade.php@@ -1,4 +1,4 @@-<div wire:poll.10000ms="check_status">+<div wire:poll.10000ms="check_status_without_notification"><livewire:project.shared.configuration-checker :resource="$service" /><x-slide-over @startservice.window="slideOverOpen = true" closeWithX fullScreen><x-slot:title>Service Startup</x-slot:title>