mirror of
https://github.com/grafana/grafana.git
synced 2024-11-21 16:38:03 -06:00
Phantom render.js is incorrectly retrieving number of active panels (#11100)
Fixes #11099
This commit is contained in:
parent
ef0b7bda6f
commit
5377b82612
@ -57,7 +57,7 @@
|
||||
|
||||
var rootScope = body.injector().get('$rootScope');
|
||||
if (!rootScope) {return false;}
|
||||
var panels = angular.element('div.panel:visible').length;
|
||||
var panels = angular.element('plugin-component').length;
|
||||
return rootScope.panelsRendered >= panels;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user