From 9be48742a995202c7a04ddc14f8f87b07475c62f Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Sun, 15 Jan 2023 13:08:26 +0000 Subject: [PATCH] removed sending all values to client on watch/edit page --- main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.go b/main.go index ef125b7..ced938c 100644 --- a/main.go +++ b/main.go @@ -567,9 +567,6 @@ func (web *Web) watchEdit(c *gin.Context) { var connections []FilterConnection web.db.Model(&FilterConnection{}).Where("watch_id = ?", watch.ID).Find(&connections) - var values []FilterOutput - web.db.Model(&FilterOutput{}).Where("watch_id = ?", watch.ID).Find(&values) - notifiers := make([]string, 1) notifiers = append(notifiers, "All") for notifier := range web.notifiers { @@ -583,7 +580,6 @@ func (web *Web) watchEdit(c *gin.Context) { "Watch": watch, "Filters": filters, "Connections": connections, - "Values": values, "Notifiers": notifiers, }) }