fix(ui): restore agents in sidebar for ops quick access
This commit is contained in:
@@ -118,7 +118,12 @@ function LayoutContent() {
|
|||||||
name: r.routeId,
|
name: r.routeId,
|
||||||
exchangeCount: r.exchangeCount,
|
exchangeCount: r.exchangeCount,
|
||||||
})),
|
})),
|
||||||
agents: [],
|
agents: (app.agents || []).map((a: any) => ({
|
||||||
|
id: a.id,
|
||||||
|
name: a.name,
|
||||||
|
status: a.status as 'live' | 'stale' | 'dead',
|
||||||
|
tps: a.tps,
|
||||||
|
})),
|
||||||
}));
|
}));
|
||||||
}, [catalog]);
|
}, [catalog]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user