فهرست منبع

fetch on param change

Signed-off-by: Thomas Evans <tevans3@icloud.com>
jjarrett21 2 سال پیش
والد
کامیت
2eeb9bdf92
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ui/src/CloudCostReports.js

+ 1 - 1
ui/src/CloudCostReports.js

@@ -167,7 +167,7 @@ const CloudCostReports = () => {
   }, [init, fetch]);
 
   React.useEffect(() => {
-    setFetch(true);
+    setFetch(!fetch);
     setTitle(generateTitle({ window, aggregateBy, costMetric }));
   }, [window, aggregateBy, costMetric]);