refactor: moving code around a bit, refactoring PR #12796

This commit is contained in:
Torkel Ödegaard
2018-08-05 11:39:46 +02:00
parent f00b5eee83
commit 013f8cd8ea
5 changed files with 29 additions and 47 deletions
+3 -2
View File
@@ -38,9 +38,10 @@ export class LoadDashboardCtrl {
}
}
if ($routeParams.keepRows) {
result.meta.keepRows = true;
if ($routeParams.autofitpanels) {
result.meta.autofitpanels = true;
}
$scope.initDashboard(result, $scope);
});
}