[v10.4.x] Dashboard: Allow auto refresh option when saving a dashboard (#85921)

This commit is contained in:
grafana-delivery-bot[bot] authored and GitHub committed 2024-04-11 12:48:51 +03:00
1 parent 22809dea50
commit dbac966482
1 file changed
+1 -1
@@ -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
}