2023-09-22 13:29:19 +00:00
|
|
|
@if (Str::of($complexStatus)->startsWith('running'))
|
|
|
|
<x-status.running :status="$complexStatus" />
|
|
|
|
@elseif(Str::of($complexStatus)->startsWith('restarting'))
|
|
|
|
<x-status.restarting :status="$complexStatus" />
|
|
|
|
@elseif(Str::of($complexStatus)->startsWith('degraded'))
|
|
|
|
<x-status.degraded :status="$complexStatus" />
|
2023-09-21 15:48:31 +00:00
|
|
|
@else
|
2023-09-22 13:29:19 +00:00
|
|
|
<x-status.stopped :status="$complexStatus" />
|
2023-09-21 15:48:31 +00:00
|
|
|
@endif
|