removed sending all values to client on watch/edit page

This commit is contained in:
BroodjeAap 2023-01-15 13:08:26 +00:00
parent 6b8b7eee58
commit 9be48742a9

View file

@ -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,
})
}