mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 23:37:01 -06:00
Query history: Fix default value when no config (#51129)
* Query history: Fix default value in setting.go * Update for frontend * Remove frontend update
This commit is contained in:
parent
bc7ed4baab
commit
62e55d530d
@ -973,7 +973,7 @@ func (cfg *Cfg) Load(args CommandLineArgs) error {
|
||||
ProfileEnabled = profile.Key("enabled").MustBool(true)
|
||||
|
||||
queryHistory := iniFile.Section("query_history")
|
||||
cfg.QueryHistoryEnabled = queryHistory.Key("enabled").MustBool(false)
|
||||
cfg.QueryHistoryEnabled = queryHistory.Key("enabled").MustBool(true)
|
||||
|
||||
panelsSection := iniFile.Section("panels")
|
||||
cfg.DisableSanitizeHtml = panelsSection.Key("disable_sanitize_html").MustBool(false)
|
||||
|
Loading…
Reference in New Issue
Block a user