Commit baabc298 by Rashid Khan

Fixed missing idQueue when using scripted dashboards

parent f7442f60
...@@ -129,15 +129,12 @@ function (angular, _, config, kbn) { ...@@ -129,15 +129,12 @@ function (angular, _, config, kbn) {
var self = this; var self = this;
this.init = function() { this.init = function() {
_q = dashboard.current.services.query;
self.list = dashboard.current.services.query.list; self.list = dashboard.current.services.query.list;
self.ids = dashboard.current.services.query.ids; self.ids = dashboard.current.services.query.ids;
// Check each query object, populate its defaults // Check each query object, populate its defaults
_.each(self.list,function(query) { _.each(self.list,function(query) {
query = self.defaults(query); query = self.defaults(query);
console.log(query);
}); });
if (self.ids.length === 0) { if (self.ids.length === 0) {
......
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