I have some code in hack.js which needs to be executed ONLY AFTER the dashboard had loaded, is there any event emitted when a dashboard finishes loading?
Some more detail:
I need to access dashboard name using $route.current.locals, hack.js executes before dashboad load and $route.current.locals is a null value, any way to avoid this?
Hey @Karan_Sharma we aren't emitting any events when the Dashboard saved object loads and is added to the $route.current/locals. What is it that you're trying to accomplish in your hack.js? Perhaps there is another way to accomplish your objective.
You could potentially poll periodically until that value that you need is there, but that's rather "hackish".
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.