Chore: Wrap custom configuration in development environment check (#70833)
This commit is contained in:
1 parent
7237766b69
commit
bb18fd719a
1 file changed
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user