enable profiling in development mode

This commit is contained in:
Mitsuhiro Tanda
2016-06-06 17:42:11 +09:00
parent 2f5ae85d33
commit 975b53b318
+1 -1
View File
@@ -17,7 +17,7 @@ export class GrafanaCtrl {
$scope._ = _;
$rootScope.profilingEnabled = store.getBool('profilingEnabled');
$rootScope.profilingEnabled = store.getBool('profilingEnabled') || config.buildInfo.env === 'development';
$rootScope.performance = { loadStart: new Date().getTime() };
$rootScope.appSubUrl = config.appSubUrl;