Small fix to scripted async dashboard example

pull/806/head
Torkel Ödegaard 11 years ago
parent 48eb2083f2
commit 7b45a2ec51
  1. 10
      src/app/dashboards/scripted_async.js

@ -35,11 +35,9 @@ return function(callback) {
// Set a title
dashboard.title = 'Scripted dash';
dashboard.services.filter = {
time: {
from: "now-" + (ARGS.from || timspan),
to: "now"
}
dashboard.time = {
from: "now-" + (ARGS.from || timspan),
to: "now"
};
var rows = 1;
@ -78,4 +76,4 @@ return function(callback) {
callback(dashboard);
});
}
}

Loading…
Cancel
Save