diff --git a/resources/views/components/services/navbar.blade.php b/resources/views/components/services/navbar.blade.php
index e593b79a8..3f5dc15f5 100644
--- a/resources/views/components/services/navbar.blade.php
+++ b/resources/views/components/services/navbar.blade.php
@@ -5,27 +5,6 @@
- @if (str($service->status())->contains('degraded'))
-
-
- @endif
@if (str($service->status())->contains('running'))
- @endif
- @if (str($service->status())->contains('exited'))
+ @elseif (str($service->status())->contains('degraded'))
+
+
+ @elseif (str($service->status())->contains('exited'))
+ @else
+
+
@endif
diff --git a/resources/views/components/status/services.blade.php b/resources/views/components/status/services.blade.php
index ff19cade3..8f268e269 100644
--- a/resources/views/components/status/services.blade.php
+++ b/resources/views/components/status/services.blade.php
@@ -1,8 +1,8 @@
-@if (Str::of($complexStatus)->startsWith('running'))
+@if (str($complexStatus)->contains('running'))
-@elseif(Str::of($complexStatus)->startsWith('restarting'))
+@elseif(str($complexStatus)->contains('restarting'))
-@elseif(Str::of($complexStatus)->startsWith('degraded'))
+@elseif(str($complexStatus)->contains('degraded'))
@else