mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'sidemenu_default_open' of https://github.com/raintank/grafana
This commit is contained in:
@@ -36,7 +36,9 @@ function (angular, _, kbn, moment, $) {
|
||||
|
||||
});
|
||||
|
||||
module.controller('DashFromSnapshotCtrl', function($scope, $routeParams, backendSrv) {
|
||||
module.controller('DashFromSnapshotCtrl', function($scope, $routeParams, backendSrv, contextSrv) {
|
||||
//don't show the sidemenu in snapshots.
|
||||
contextSrv.sidemenu = false;
|
||||
backendSrv.get('/api/snapshots/' + $routeParams.key).then(function(result) {
|
||||
$scope.initDashboard(result, $scope);
|
||||
}, function() {
|
||||
|
||||
Reference in New Issue
Block a user