Chore: Wrap custom configuration in development environment check (#70833)

This commit is contained in:
Esteban Beltran
2023-06-28 14:39:23 +02:00
committed by GitHub
parent 7237766b69
commit bb18fd719a
+3 -1
View File
@@ -194,7 +194,9 @@ export class GrafanaBootConfig implements GrafanaConfig {
systemDateFormats.update(this.dateFormats);
}
overrideFeatureTogglesFromUrl(this);
if (this.buildInfo.env === 'development') {
overrideFeatureTogglesFromUrl(this);
}
if (this.featureToggles.disableAngular) {
this.angularSupportEnabled = false;