diff --git a/frontend/src/store/actions/global.ts b/frontend/src/store/actions/global.ts index 4af5e7adce..4fc8fc7acb 100644 --- a/frontend/src/store/actions/global.ts +++ b/frontend/src/store/actions/global.ts @@ -23,6 +23,11 @@ export const updateTimeInterval = ( // set directly based on that. Assuming datetimeRange values are in ms, and minTime is 0th element switch (interval) { + case "1min": + maxTime = Date.now() * 1000000; // in nano sec + minTime = (Date.now() - 1 * 60 * 1000) * 1000000; + break; + case "15min": maxTime = Date.now() * 1000000; // in nano sec minTime = (Date.now() - 15 * 60 * 1000) * 1000000;