Merge pull request #1627 from influxdata/fix/revert_90d_timerange

Fix Status Page timerange to be 30d again
pull/1639/head
Jared Scheib 2017-06-16 19:06:56 -07:00 committed by GitHub
commit 5c88dab607
2 changed files with 1 additions and 2 deletions

View File

@ -8,5 +8,4 @@
{defaultGroupBy: '30m', seconds: 172800, inputValue: 'Past 2 days', lower: 'now() - 2d', upper: null, menuOption: 'Past 2 days'},
{defaultGroupBy: '1h', seconds: 604800, inputValue: 'Past 7 days', lower: 'now() - 7d', upper: null, menuOption: 'Past 7 days'},
{defaultGroupBy: '6h', seconds: 2592000, inputValue: 'Past 30 days', lower: 'now() - 30d', upper: null, menuOption: 'Past 30 days'},
{defaultGroupBy: '12h', seconds: 7776000, inputValue: 'Past 90 days', lower: 'now() - 90d', upper: null, menuOption: 'Past 90 days'},
]

View File

@ -3,7 +3,7 @@ import timeRanges from 'hson!shared/data/timeRanges.hson'
import * as actionTypes from 'src/status/constants/actionTypes'
const {lower, upper} = timeRanges.find(tr => tr.lower === 'now() - 90d')
const {lower, upper} = timeRanges.find(tr => tr.lower === 'now() - 30d')
const initialState = {
autoRefresh: AUTOREFRESH_DEFAULT,