Make frontend-service settings overwrite those that come from /bootdata (#112268)
This commit is contained in:
@@ -261,7 +261,11 @@
|
||||
// tenant-specific config
|
||||
// TODO split this into separate API calls
|
||||
const { navTree, settings, user } = await loadBootData();
|
||||
window.grafanaBootData.settings = settings;
|
||||
|
||||
window.grafanaBootData.settings = {
|
||||
...settings,
|
||||
...window.grafanaBootData.settings, // preserve frontend-service settings
|
||||
}
|
||||
window.grafanaBootData.navTree = navTree;
|
||||
window.grafanaBootData.user = user;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user