[v10.4.x] Dashboard: Allow auto refresh option when saving a dashboard (#85921)
This commit is contained in:
@@ -288,7 +288,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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user