This is an automated email from the ASF dual-hosted git repository.

arafat2198 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 63809d6a2c3 HDDS-13821. Fix Container Size distribution graph in new 
UI (#9182)
63809d6a2c3 is described below

commit 63809d6a2c3d8c474a304475a2731c49a5252ceb
Author: Abhishek Pal <[email protected]>
AuthorDate: Tue Oct 21 13:12:56 2025 +0530

    HDDS-13821. Fix Container Size distribution graph in new UI (#9182)
---
 .../ozone-recon-web/src/v2/components/plots/insightsContainerPlot.tsx  | 2 +-
 .../webapps/recon/ozone-recon-web/src/v2/pages/insights/insights.tsx   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/plots/insightsContainerPlot.tsx
 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/plots/insightsContainerPlot.tsx
index 851c355e765..44a31a3ed6b 100644
--- 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/plots/insightsContainerPlot.tsx
+++ 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/plots/insightsContainerPlot.tsx
@@ -67,7 +67,7 @@ const ContainerSizeDistribution: 
React.FC<ContainerSizeDistributionProps> = ({
 
   React.useEffect(() => {
     updatePlotData();
-  }, []);
+  }, [containerCountResponse]);
 
   const { containerCountMap, containerCountValues } = containerPlotData;
 
diff --git 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/insights/insights.tsx
 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/insights/insights.tsx
index 09bf62f288c..71538112f6f 100644
--- 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/insights/insights.tsx
+++ 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/insights/insights.tsx
@@ -74,8 +74,7 @@ const Insights: React.FC<{}> = () => {
 
   // Process the API responses when they're available
   useEffect(() => {
-    if (!fileCountAPI.loading && !containerCountAPI.loading && 
-        fileCountAPI.data && containerCountAPI.data) {
+    if (!fileCountAPI.loading && !containerCountAPI.loading) {
       
       // Extract errors
       const fileAPIError = fileCountAPI.error;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to