mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: jsonData should not be allowed to be null, fixes #9258
This commit is contained in:
parent
085245f97d
commit
24d69ca205
@ -62,6 +62,8 @@ func getFrontendSettingsMap(c *middleware.Context) (map[string]interface{}, erro
|
||||
|
||||
if ds.JsonData != nil {
|
||||
dsMap["jsonData"] = ds.JsonData
|
||||
} else {
|
||||
dsMap["jsonData"] = make(map[string]string)
|
||||
}
|
||||
|
||||
if ds.Access == m.DS_ACCESS_DIRECT {
|
||||
|
Loading…
Reference in New Issue
Block a user