Skip to content

Commit

Permalink
Merge pull request #431 from EverythingMe/feature/additional_refresh_…
Browse files Browse the repository at this point in the history
…rates

Feature: additional refresh times (5, 10, 15, 30 minutes)
  • Loading branch information
arikfr committed May 14, 2015
2 parents 671f1f4 + 8c28392 commit 0ee7292
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rd_ui/app/scripts/directives/query_directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,14 @@
value: "60",
name: 'Every minute'
}
]
];

_.each([5, 10, 15, 30], function(i) {
$scope.refreshOptions.push({
value: String(i*60),
name: "Every " + i + " minutes"
})
});

_.each(_.range(1, 13), function (i) {
$scope.refreshOptions.push({
Expand Down

0 comments on commit 0ee7292

Please sign in to comment.