mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Expressions: Add option to disable feature (#30541)
* Expressions: Add option to disable feature * Apply suggestions from code review Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5d52e50f6f
commit
9ada4b6052
@@ -68,6 +68,7 @@ export class GrafanaBootConfig implements GrafanaConfig {
|
||||
sampleRate: 1,
|
||||
};
|
||||
marketplaceUrl?: string;
|
||||
expressionsEnabled = false;
|
||||
|
||||
constructor(options: GrafanaBootConfig) {
|
||||
this.theme = options.bootData.user.lightTheme ? getTheme(GrafanaThemeType.Light) : getTheme(GrafanaThemeType.Dark);
|
||||
|
||||
Reference in New Issue
Block a user