Commit 401c67d1 by Torkel Ödegaard

fix(dashboard): re-render panels when leaving fullscreen mode, fixes #6312

parent 1581bf8d
......@@ -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;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment