|
|
@@ -44,7 +44,7 @@ function (angular, $, config, _) {
|
|
|
$scope.setupDashboard = function(event, dashboardData) {
|
|
|
$rootScope.performance.dashboardLoadStart = new Date().getTime();
|
|
|
$rootScope.performance.panelsInitialized = 0;
|
|
|
- $rootScope.performance.panelsRendered= 0;
|
|
|
+ $rootScope.performance.panelsRendered = 0;
|
|
|
|
|
|
$scope.dashboard = dashboardSrv.create(dashboardData);
|
|
|
$scope.dashboardViewState = dashboardViewStateSrv.create($scope);
|
|
|
@@ -93,14 +93,6 @@ function (angular, $, config, _) {
|
|
|
};
|
|
|
};
|
|
|
|
|
|
- $scope.panel_path =function(type) {
|
|
|
- if(type) {
|
|
|
- return 'app/panels/'+type.replace(".","/");
|
|
|
- } else {
|
|
|
- return false;
|
|
|
- }
|
|
|
- };
|
|
|
-
|
|
|
$scope.edit_path = function(type) {
|
|
|
var p = $scope.panel_path(type);
|
|
|
if(p) {
|