We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2449a40 commit 4c425fcCopy full SHA for 4c425fc
js/render-facade.js
@@ -81,6 +81,14 @@
81
}
82
83
$(document).ready(function(){
84
+ // facade loads twice in the admin area, so all charts are also loaded twice
85
+ // this will ensure that even if it loaded twice, it initializes all charts only once.
86
+ // fixed as part of the issue to add annotations.
87
+ if(localStorage.getItem( 'viz-facade-loaded' ) === '1'){
88
+ localStorage.removeItem( 'viz-facade-loaded' );
89
+ return;
90
+ }
91
+ localStorage.setItem( 'viz-facade-loaded', '1');
92
$('body').trigger('visualizer:render:chart:start', visualizer);
93
initActionsButtons(visualizer);
94
registerDefaultActions();
0 commit comments