From 4c70349ee1a358463b7e2e20ebc549443703370c Mon Sep 17 00:00:00 2001 From: Arik Fraimovich Date: Sun, 6 Aug 2017 20:53:07 +0300 Subject: [PATCH] Add 12 & 24 hours refresh rate option to dashboards. --- CHANGELOG.md | 1 + client/app/pages/dashboards/dashboard.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a781cb80..dde58dee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ - Add limit parameter to tasks API. @alexpekurovsky - Add SQLAlchemy pool settings. - Support for category type y axis. +- Add 12 & 24 hours refresh rate option to dashboards. ### Changed diff --git a/client/app/pages/dashboards/dashboard.js b/client/app/pages/dashboards/dashboard.js index 7deae601..c2315d50 100644 --- a/client/app/pages/dashboards/dashboard.js +++ b/client/app/pages/dashboards/dashboard.js @@ -17,6 +17,8 @@ function DashboardCtrl($rootScope, $routeParams, $location, $timeout, $q, $uibMo { name: '10 minutes', rate: 60 * 10 }, { name: '30 minutes', rate: 60 * 30 }, { name: '1 hour', rate: 60 * 60 }, + { name: '12 hour', rate: 12 * 60 * 60 }, + { name: '24 hour', rate: 24 * 60 * 60 }, ]; this.setRefreshRate = (rate) => {