fix: service status
This commit is contained in:
parent
f863db7ea5
commit
ab5202515e
@ -21,7 +21,6 @@ public function render()
|
|||||||
}
|
}
|
||||||
public function serviceStatusUpdated()
|
public function serviceStatusUpdated()
|
||||||
{
|
{
|
||||||
ray('serviceStatusUpdated');
|
|
||||||
$this->check_status();
|
$this->check_status();
|
||||||
}
|
}
|
||||||
public function check_status()
|
public function check_status()
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1 pl-8">
|
<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" />
|
<livewire:project.shared.get-logs :server="$server" :container="$container" />
|
||||||
@else
|
@else
|
||||||
Service is not running.
|
Service is not running.
|
||||||
|
Loading…
Reference in New Issue
Block a user