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

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