fix: service status
This commit is contained in:
parent
f863db7ea5
commit
ab5202515e
@ -21,7 +21,6 @@ public function render()
|
||||
}
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user