[v11.0.x] Dashboard: Allow auto refresh option when saving a dashboard (#85922)

This commit is contained in:
grafana-delivery-bot[bot]
2024-04-11 11:50:25 +02:00
committed by GitHub
parent 0ef11f0c23
commit 31cc5a9634
@@ -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
}