mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Phantom render.js is incorrectly retrieving number of active panels (#11100)
Fixes #11099
This commit is contained in:
committed by
Torkel Ödegaard
parent
ef0b7bda6f
commit
5377b82612
@@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
var rootScope = body.injector().get('$rootScope');
|
var rootScope = body.injector().get('$rootScope');
|
||||||
if (!rootScope) {return false;}
|
if (!rootScope) {return false;}
|
||||||
var panels = angular.element('div.panel:visible').length;
|
var panels = angular.element('plugin-component').length;
|
||||||
return rootScope.panelsRendered >= panels;
|
return rootScope.panelsRendered >= panels;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user