@props([
'lastDeploymentInfo' => null,
'lastDeploymentLink' => null,
])
@if (str($resource->status)->startsWith('running'))
@elseif(str($resource->status)->startsWith('restarting') ||
str($resource->status)->startsWith('starting') ||
str($resource->status)->startsWith('degraded'))
@else
@endif
@if (!str($resource->status)->contains('exited') && $showRefreshButton)
@endif