Include all agents on heartbeats page regardless of interval config

Agents without a heartbeat interval configured (intervalSec=0) were
filtered out, making them invisible on the instance heartbeats page.
This prevented managing heartbeats for agents that hadn't been
configured yet (e.g. donchitos company agents).

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta
2026-03-23 16:17:15 -05:00
parent 43b21c6033
commit 2daae758b1
-1
View File
@@ -901,7 +901,6 @@ export function agentRoutes(db: Db) {
};
})
.filter((item) =>
item.intervalSec > 0 &&
item.status !== "paused" &&
item.status !== "terminated" &&
item.status !== "pending_approval",