mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:32:19 +08:00
fix: alert list links did not work, changed dashboardUri to Url, this is breaking api change in alert api (#10756)
This commit is contained in:
@ -105,7 +105,7 @@ func transformToDTOs(alerts []*models.Alert, c *middleware.Context) ([]*dtos.Ale
|
||||
for _, alert := range alertDTOs {
|
||||
for _, dash := range dashboardsQuery.Result {
|
||||
if alert.DashboardId == dash.Id {
|
||||
alert.DashbboardUri = dash.GenerateUrl()
|
||||
alert.Url = dash.GenerateUrl()
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user