mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Geomap: make the geomap panel beta and label alpha layers (#36894)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { config, GrafanaBootConfig } from '@grafana/runtime';
|
||||
import { PluginState } from '../../../packages/grafana-data/src';
|
||||
// Legacy binding paths
|
||||
export { config, GrafanaBootConfig as Settings };
|
||||
|
||||
@@ -16,3 +17,6 @@ export const updateConfig = (update: Partial<GrafanaBootConfig>) => {
|
||||
...update,
|
||||
};
|
||||
};
|
||||
|
||||
// The `enable_alpha` flag is no exposed directly, this is equivolant
|
||||
export const hasAlphaPanels = Boolean(config.panels?.debug?.state === PluginState.alpha);
|
||||
|
||||
Reference in New Issue
Block a user