소스 검색

Merge pull request #2555 from mattray/default

Fix default of 7 days so it doesn't report 'Custom' date range
Matt Ray 2 년 전
부모
커밋
61ce72836c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ui/src/Reports.js

+ 1 - 1
ui/src/Reports.js

@@ -158,7 +158,7 @@ const ReportsPage = () => {
   const searchParams = new URLSearchParams(routerLocation.search);
   const routerHistory = useHistory();
   useEffect(() => {
-    setWindow(searchParams.get("window") || "6d");
+    setWindow(searchParams.get("window") || "7d");
     setAggregateBy(searchParams.get("agg") || "namespace");
     setAccumulate(searchParams.get("acc") === "true" || false);
     setCurrency(searchParams.get("currency") || "USD");