provisioning: enables title changes for dashboards

This commit is contained in:
bergquist committed 2018-01-24 19:16:57 +01:00
1 parent 77a4ccb822
commit 57e7048b8f
3 files changed
+55 -16

No files matched your search

-1
View File
@@ -31,7 +31,6 @@ func saveDashboard(sess *DBSession, cmd *m.SaveDashboardCommand) error {
// try get existing dashboard
var existing, sameTitle m.Dashboard
if dash.Id > 0 {
dashWithIdExists, err := sess.Where("id=? AND org_id=?", dash.Id, dash.OrgId).Get(&existing)
if err != nil {