chore: Update navbar and configuration to improve service status check functionality
This commit is contained in:
parent
c648e0dff9
commit
c9a7af0ffa
3 changed files with 7 additions and 2 deletions
|
|
@ -49,6 +49,11 @@ public function serviceStarted()
|
|||
}
|
||||
}
|
||||
|
||||
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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue