Commit 584c5301 authored by Martin Wortschack's avatar Martin Wortschack Committed by Clement Ho

Change default timeframe from 90 to 30 days

- Fetches data for the last 30 days
parent 016934ed
......@@ -92,4 +92,4 @@ export const scatterPlotAddonQueryDays = 30;
export const accessLevelReporter = 20;
export const projectsPerPage = 50;
export const defaultDaysInPast = 90;
export const defaultDaysInPast = 30;
......@@ -72,7 +72,7 @@ describe('Daterange component', () => {
it('dispatches setDateRange with skipFetch=true', () => {
expect(actionSpies.setDateRange).toHaveBeenCalledWith({
skipFetch: true,
startDate: new Date('2019-06-27T00:00:00.000Z'),
startDate: new Date('2019-08-26T00:00:00.000Z'),
endDate: new Date('2019-09-25T00:00:00.000Z'),
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment