feat: ingest data from new agent system
This commit is contained in:
parent
e36352b7f3
commit
5b9dc7cfc6
3 changed files with 23 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue