mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(): another fix for panel image rendering
This commit is contained in:
parent
f8a4661d05
commit
90c9c70416
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user