Dashboards: Fix preload field not being persisted via /v1beta1 (#112475)

This commit is contained in:
Ivan Ortega Alba
2025-10-16 12:45:29 +02:00
committed by GitHub
parent 6e66a98ef7
commit ebd0d334bc
16 changed files with 16 additions and 1 deletions
@@ -1061,7 +1061,6 @@ func cleanupDashboardDefaults(dashboard map[string]interface{}) {
// Remove transient properties that frontend filters out during getSaveModelClone()
// These properties are lost during frontend's property copying loop in getSaveModelCloneOld()
delete(dashboard, "preload") // Transient dashboard loading state
delete(dashboard, "iteration") // Template variable iteration timestamp
delete(dashboard, "nav") // Removed after V7 migration
delete(dashboard, "pulldowns") // Removed after V6 migration - frontend doesn't have this property