@@ -338,7 +338,7 @@ func (hs *HTTPServer) PostDashboard(c *models.ReqContext, cmd models.SaveDashboa
|
|||||||
dashboard = dash // the original request
|
dashboard = dash // the original request
|
||||||
}
|
}
|
||||||
|
|
||||||
// This will broadcast all save requets only if a `gitops` observer exists.
|
// This will broadcast all save requests only if a `gitops` observer exists.
|
||||||
// gitops is useful when trying to save dashboards in an environment where the user can not save
|
// gitops is useful when trying to save dashboards in an environment where the user can not save
|
||||||
channel := hs.Live.GrafanaScope.Dashboards
|
channel := hs.Live.GrafanaScope.Dashboards
|
||||||
liveerr := channel.DashboardSaved(c.SignedInUser.OrgId, c.SignedInUser.ToUserDisplayDTO(), cmd.Message, dashboard, err)
|
liveerr := channel.DashboardSaved(c.SignedInUser.OrgId, c.SignedInUser.ToUserDisplayDTO(), cmd.Message, dashboard, err)
|
||||||
|
|||||||
Reference in New Issue
Block a user