Merge branch 'master' into develop

This commit is contained in:
Torkel Ödegaard
2017-09-18 12:32:29 +02:00
488 changed files with 30610 additions and 169220 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ func SaveDashboard(cmd *m.SaveDashboardCommand) error {
if dash.Id == 0 {
dash.Version = 1
metrics.M_Models_Dashboard_Insert.Inc(1)
metrics.M_Api_Dashboard_Insert.Inc()
dash.Data.Set("version", dash.Version)
affectedRows, err = sess.Insert(dash)
} else {