fix: service status

This commit is contained in:
Andras Bacsai committed 2023-10-02 14:12:19 +02:00
1 parent f863db7ea5
commit ab5202515e
2 files changed
+1 -2

No files matched your search

@@ -21,7 +21,6 @@ class Navbar extends Component
}
public function serviceStatusUpdated()
{
ray('serviceStatusUpdated');
$this->check_status();
}
public function check_status()
@@ -29,7 +29,7 @@
</a>
</div>
<div class="flex-1 pl-8">
@if (Str::of($status)->startsWith('running'))
@if (serviceStatus($resource) === 'running')
<livewire:project.shared.get-logs :server="$server" :container="$container" />
@else
Service is not running.