Filter services displayed on dashboard

This commit is contained in:
Romein van Buren 2022-07-14 17:29:15 +02:00
parent d6261432b9
commit f21a6f5a1a
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -22,7 +22,10 @@ async function createDashboardSocket(server) {
async function sendStatuses() { async function sendStatuses() {
const services = await server.storage const services = await server.storage
.store('smartyellow/webservice') .store('smartyellow/webservice')
.find() .find({
autotestEnabled: true,
public: true,
})
.toArray(); .toArray();
const heartbeats = await server.storage const heartbeats = await server.storage
.store('smartyellow/webserviceheartbeat') .store('smartyellow/webserviceheartbeat')