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:
parent
43b21c6033
commit
2daae758b1
1 changed files with 0 additions and 1 deletions
|
|
@ -901,7 +901,6 @@ export function agentRoutes(db: Db) {
|
|||
};
|
||||
})
|
||||
.filter((item) =>
|
||||
item.intervalSec > 0 &&
|
||||
item.status !== "paused" &&
|
||||
item.status !== "terminated" &&
|
||||
item.status !== "pending_approval",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue