fix: complex container status
feat: able to change primary server feat: links inside the logs
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
@if ($resource->getMorphClass() == 'App\Models\Service')
|
||||
<x-status.services :service="$resource" />
|
||||
@else
|
||||
<x-status.index :status="$resource->status" />
|
||||
<x-status.index :resource="$resource" />
|
||||
@endif
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
@props(['status', 'showRefreshButton' => true])
|
||||
@if (str($status)->startsWith('running'))
|
||||
<x-status.running :status="$status" />
|
||||
@elseif(str($status)->startsWith('restarting') ||
|
||||
@@ -6,7 +5,7 @@
|
||||
str($status)->startsWith('degraded'))
|
||||
<x-status.restarting :status="$status" />
|
||||
@else
|
||||
<x-status.stopped :status="$status"/>
|
||||
<x-status.stopped :status="$status" />
|
||||
@endif
|
||||
|
||||
@if (!str($status)->contains('exited') && $showRefreshButton)
|
||||
|
||||
Reference in New Issue
Block a user