Commit ffd865c7 by Torkel Ödegaard

fix(panel rendering): Fixed png panel rendering timing issue, #5606

parent e507bb6d
......@@ -101,7 +101,7 @@ export class Profiler {
renderingCompleted(panelId, panelTimings) {
// add render counter to root scope
// used by phantomjs render.js to know when panel has rendered
this.$rootScope.panelsRendered = this.panelsRendered++;
this.$rootScope.panelsRendered = this.panelsRendered + 1;
if (this.enabled) {
panelTimings.renderEnd = new Date().getTime();
......
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