fix(): another fix for panel image rendering

This commit is contained in:
Torkel Ödegaard 2016-05-26 08:49:55 +02:00
parent f8a4661d05
commit 90c9c70416
2 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,7 @@ function (angular, _, $) {
self.registerPanel(payload.scope); self.registerPanel(payload.scope);
}); });
this.update(this.getQueryStringState(), true); this.update(this.getQueryStringState());
this.expandRowForPanel(); this.expandRowForPanel();
} }

View File

@ -17,6 +17,10 @@ function (angular, $) {
var params = $location.search(); var params = $location.search();
panelId = parseInt(params.panelId); panelId = parseInt(params.panelId);
// add fullscreen param;
params.fullscreen = true;
$location.search(params);
dashboardLoaderSrv.loadDashboard($routeParams.type, $routeParams.slug).then(function(result) { dashboardLoaderSrv.loadDashboard($routeParams.type, $routeParams.slug).then(function(result) {
$scope.initDashboard(result, $scope); $scope.initDashboard(result, $scope);
}); });