provisioning: enables title changes for dashboards
This commit is contained in:
1 parent
77a4ccb822
commit
57e7048b8f
3 files changed
+55
-16
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user