getMorphClass() !== 'App\Models\Application' ||
($resource->build_pack !== 'dockercompose' &&
$resource->destination->server->isMetricsEnabled() &&
str($resource->status)->contains('running'))) x-init="$wire.loadData()"
@if ($poll) wire:poll.5000ms="pollData" @endif
@endif>
@if ($resource->getMorphClass() === 'App\Models\Application' && $resource->build_pack === 'dockercompose')
@elseif (!$resource->destination->server->isMetricsEnabled())
Server metrics
Enable Sentinel and metrics for this server before collecting application usage data.
@elseif (!str($resource->status)->contains('running'))
@else
Five and ten minute ranges refresh automatically every five seconds.
@script
@endscript
@script
@endscript
@endif