default to 15 minutes for queries
parent
3891b0e24a
commit
7b252d3cdc
|
@ -18,11 +18,11 @@ export const HostPage = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
getInitialState() {
|
getInitialState() {
|
||||||
const pastHourIndex = 2;
|
const fifteenMinutesIndex = 1;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
layouts: [],
|
layouts: [],
|
||||||
timeRange: timeRanges[pastHourIndex],
|
timeRange: timeRanges[fifteenMinutesIndex],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue