Dashboard PNG export (#6644)

This commit is contained in:
Adrian Muraru
2016-12-06 08:05:13 +01:00
committed by Torkel Ödegaard
parent 167936f9b9
commit f91fcaf5cf
+2 -1
View File
@@ -55,7 +55,8 @@
var rootScope = body.injector().get('$rootScope');
if (!rootScope) {return false;}
return rootScope.panelsRendered;
var panels = angular.element('div.panel:visible').length;
return rootScope.panelsRendered >= panels;
});
if (panelsRendered || tries === 1000) {