mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Wrap custom configuration in development environment check (#70833)
This commit is contained in:
parent
7237766b69
commit
bb18fd719a
@ -194,7 +194,9 @@ export class GrafanaBootConfig implements GrafanaConfig {
|
|||||||
systemDateFormats.update(this.dateFormats);
|
systemDateFormats.update(this.dateFormats);
|
||||||
}
|
}
|
||||||
|
|
||||||
overrideFeatureTogglesFromUrl(this);
|
if (this.buildInfo.env === 'development') {
|
||||||
|
overrideFeatureTogglesFromUrl(this);
|
||||||
|
}
|
||||||
|
|
||||||
if (this.featureToggles.disableAngular) {
|
if (this.featureToggles.disableAngular) {
|
||||||
this.angularSupportEnabled = false;
|
this.angularSupportEnabled = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user