2023-09-22 15:29:19 +02: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 17:48:31 +02:00
|
|
|
@else
|
2023-09-22 15:29:19 +02:00
|
|
|
<x-status.stopped :status="$complexStatus" />
|
2023-09-21 17:48:31 +02:00
|
|
|
@endif
|