chore: Update navbar and configuration to improve service status check functionality
This commit is contained in:
@@ -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');
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user