#3, added datapoint comment

This commit is contained in:
Magnus Åhall 2024-06-24 11:18:51 +02:00
parent f29693a066
commit 42b1a20531
9 changed files with 173 additions and 3 deletions

View file

@ -626,6 +626,7 @@ func actionDatapointUpdate(w http.ResponseWriter, r *http.Request, _ *session.T)
dp.Group = r.FormValue("group")
dp.Name = r.FormValue("name")
dp.Datatype = DatapointType(r.FormValue("datatype"))
dp.Comment = r.FormValue("comment")
dp.NodataProblemSeconds = nodataSeconds
err = dp.Update()
if err != nil {