Răsfoiți Sursa

fetch on param change

Signed-off-by: Thomas Evans <tevans3@icloud.com>
jjarrett21 2 ani în urmă
părinte
comite
2eeb9bdf92
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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]);