From 8c28392dfd8fef2b1bb30648b9646c2112217960 Mon Sep 17 00:00:00 2001 From: Arik Fraimovich Date: Wed, 13 May 2015 20:59:39 +0300 Subject: [PATCH] Feature: additional refersh times (5,10,15,30 minutes) --- rd_ui/app/scripts/directives/query_directives.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rd_ui/app/scripts/directives/query_directives.js b/rd_ui/app/scripts/directives/query_directives.js index 68beea9039..e8a2e35a4f 100644 --- a/rd_ui/app/scripts/directives/query_directives.js +++ b/rd_ui/app/scripts/directives/query_directives.js @@ -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({