mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
newgrid: progress on fullscreen/edit view modes
This commit is contained in:
@@ -19,7 +19,7 @@ function (_, $, coreModule) {
|
||||
});
|
||||
|
||||
var lastHideControlsVal;
|
||||
$scope.$watch('dashboard.hideControls', function() {
|
||||
$scope.$watch('ctrl.dashboard.hideControls', function() {
|
||||
if (!$scope.dashboard) {
|
||||
return;
|
||||
}
|
||||
@@ -31,7 +31,7 @@ function (_, $, coreModule) {
|
||||
}
|
||||
});
|
||||
|
||||
$scope.$watch('playlistSrv', function(newValue) {
|
||||
$scope.$watch('ctrl.playlistSrv', function(newValue) {
|
||||
elem.toggleClass('playlist-active', _.isObject(newValue));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user