From f21a6f5a1aed12478a3ef273297cc70222e13501 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Thu, 14 Jul 2022 17:29:15 +0200 Subject: [PATCH] Filter services displayed on dashboard --- lib/dashboard/socket.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/dashboard/socket.js b/lib/dashboard/socket.js index 83f10d5..02f6df4 100644 --- a/lib/dashboard/socket.js +++ b/lib/dashboard/socket.js @@ -22,7 +22,10 @@ async function createDashboardSocket(server) { async function sendStatuses() { const services = await server.storage .store('smartyellow/webservice') - .find() + .find({ + autotestEnabled: true, + public: true, + }) .toArray(); const heartbeats = await server.storage .store('smartyellow/webserviceheartbeat')