mirror of
https://github.com/grafana/grafana.git
synced 2025-01-10 08:03:58 -06:00
fix(dashboard): re-render panels when leaving fullscreen mode, fixes #6312
This commit is contained in:
parent
1581bf8d5b
commit
401c67d136
@ -155,11 +155,10 @@ function (angular, _, $) {
|
||||
if (!render) { return false;}
|
||||
|
||||
$timeout(function() {
|
||||
if (self.oldTimeRange !== ctrl.range) {
|
||||
if (self.oldTimeRange && self.oldTimeRange !== ctrl.range) {
|
||||
self.$scope.broadcastRefresh();
|
||||
}
|
||||
else {
|
||||
ctrl.render();
|
||||
} else {
|
||||
self.$scope.$broadcast('render');
|
||||
}
|
||||
delete self.fullscreenPanel;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user