wire up debounce setting in the ui

This commit is contained in:
bergquist
2018-11-05 10:50:28 +01:00
parent 2d3a575489
commit 4526660cb2
4 changed files with 164 additions and 139 deletions
+2 -1
View File
@@ -193,7 +193,8 @@ func updateAlerts(existingAlerts []*m.Alert, cmd *m.SaveAlertsCommand, sess *DBS
if alertToUpdate.ContainsUpdates(alert) {
alert.Updated = timeNow()
alert.State = alertToUpdate.State
sess.MustCols("message")
sess.MustCols("message", "debounce_duration")
_, err := sess.ID(alert.Id).Update(alert)
if err != nil {
return err