mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Allow auto
refresh option when saving a dashboard (#85581)
Fix saving auto refresh option
This commit is contained in:
parent
26805906dd
commit
62c512662c
@ -278,7 +278,7 @@ func validateDashboardRefreshInterval(minRefreshInterval string, dash *dashboard
|
||||
}
|
||||
|
||||
refresh := dash.Data.Get("refresh").MustString("")
|
||||
if refresh == "" {
|
||||
if refresh == "" || refresh == "auto" {
|
||||
// since no refresh is set it is a valid refresh rate
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user