mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
Alerting: Change Panel Edit link to Panel View link (#27378)
Enables alerts to be sent to users who do not have edit permissions. Addresses Issue: https://github.com/grafana/grafana/issues/26014
This commit is contained in:
parent
4b1eb6e5c7
commit
d0e980c2fa
@ -112,7 +112,7 @@ func (c *EvalContext) GetDashboardUID() (*models.DashboardRef, error) {
|
||||
return c.dashboardRef, nil
|
||||
}
|
||||
|
||||
const urlFormat = "%s?tab=alert&editPanel=%d&orgId=%d"
|
||||
const urlFormat = "%s?tab=alert&viewPanel=%d&orgId=%d"
|
||||
|
||||
// GetRuleURL returns the url to the dashboard containing the alert.
|
||||
func (c *EvalContext) GetRuleURL() (string, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user