feat: ingest data from new agent system

This commit is contained in:
Aarnav Tale 2025-03-11 22:34:30 -04:00
parent e36352b7f3
commit 5b9dc7cfc6
No known key found for this signature in database
3 changed files with 23 additions and 3 deletions

View file

@ -51,6 +51,7 @@ export async function loader({
magic,
server: ctx.headscale.url,
publicServer: ctx.headscale.public_url,
agents: context.agents,
};
}
@ -124,6 +125,7 @@ export default function Page() {
users={data.users}
magic={data.magic}
stats={stats?.[machine.nodeKey]}
isAgent={data.agents.includes(machine.id)}
/>
))}
</tbody>