Added qty of connected and offline to the hosts dashboard page

This commit is contained in:
Muhammad Ibrahim
2025-10-15 22:40:52 +01:00
parent 5b77a1328d
commit c43afeb127
3 changed files with 98 additions and 18 deletions

View File

@@ -201,6 +201,7 @@ router.get("/hosts", authenticateToken, requireViewHosts, async (_req, res) => {
agent_version: true,
auto_update: true,
notes: true,
api_id: true,
host_groups: {
select: {
id: true,