fix: make sure to show some buttons

This commit is contained in:
Andras Bacsai committed 2024-03-05 09:37:35 +01:00
1 parent 9c1d585c43
commit c6740cfea0
2 files changed
+43 -26

No files matched your search

@@ -1,8 +1,8 @@
@if (Str::of($complexStatus)->startsWith('running'))
@if (str($complexStatus)->contains('running'))
<x-status.running :status="$complexStatus" />
@elseif(Str::of($complexStatus)->startsWith('restarting'))
@elseif(str($complexStatus)->contains('restarting'))
<x-status.restarting :status="$complexStatus" />
@elseif(Str::of($complexStatus)->startsWith('degraded'))
@elseif(str($complexStatus)->contains('degraded'))
<x-status.degraded :status="$complexStatus" />
@else
<x-status.stopped :status="$complexStatus" />