This commit is contained in:
@@ -31,7 +31,7 @@ export async function GET() {
|
||||
cache.status === 'ready' && readyHosts.some((host) => host.id === cache.hostId)
|
||||
)
|
||||
);
|
||||
const runtimes = connected.filter((host) => host.inventory.runtimeImages?.length);
|
||||
const runtimes = connected.filter((host) => host.inventory.preparedRuntimeImages?.length);
|
||||
const checks: SetupCheck[] = [
|
||||
{
|
||||
id: 'hosts',
|
||||
@@ -46,7 +46,7 @@ export async function GET() {
|
||||
title: 'Plutainer runtime',
|
||||
state: runtimes.length ? 'ready' : 'attention',
|
||||
detail: runtimes.length
|
||||
? `${runtimes.length} connected hosts report cached runtime images.`
|
||||
? `${runtimes.length} connected hosts report prepared runtime images.`
|
||||
: 'Hosts prepare the configured Plutainer runtime automatically.',
|
||||
href: '/hosts',
|
||||
action: 'View host setup'
|
||||
|
||||
@@ -447,7 +447,7 @@
|
||||
</li>{/each}
|
||||
</ul>{:else}<p>No cached game libraries reported yet.</p>{/if}
|
||||
<p>
|
||||
Cached images: {host.inventory.runtimeImages?.join(', ') ||
|
||||
Prepared runtimes: {host.inventory.preparedRuntimeImages?.join(', ') ||
|
||||
'None reported yet'}
|
||||
</p>
|
||||
{#if canManage}<details>
|
||||
|
||||
Reference in New Issue
Block a user