This is an automated email from the ASF dual-hosted git repository.
priyeshkaratha 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 b15c871db90 HDDS-16642. Hide heatmap navbar tab until feature status
is confirmed in Recon v2 (#11360)
b15c871db90 is described below
commit b15c871db90ae289b78cdb5586f3b4eddbf208b6
Author: sravani <[email protected]>
AuthorDate: Wed Sep 30 11:09:14 2026 +0530
HDDS-16642. Hide heatmap navbar tab until feature status is confirmed in
Recon v2 (#11360)
---
.../recon/ozone-recon-web/src/v2/components/navBar/navBar.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/navBar/navBar.tsx
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/navBar/navBar.tsx
index d0c03b64144..102e42ab3eb 100644
---
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/navBar/navBar.tsx
+++
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/navBar/navBar.tsx
@@ -53,8 +53,8 @@ const NavBar: React.FC<NavBarProps> = ({
onCollapse = () => { }
}) => {
const location = useLocation();
-
- const { data: disabledFeatures, error } = useApiData<string[]>(
+
+ const { data: disabledFeatures, success: disabledFeaturesLoaded } =
useApiData<string[]>(
'/api/v1/features/disabledFeatures',
[],
{
@@ -73,7 +73,7 @@ const NavBar: React.FC<NavBarProps> = ({
}
);
- const isHeatmapEnabled = !disabledFeatures.includes('HEATMAP');
+ const isHeatmapEnabled = disabledFeaturesLoaded &&
!disabledFeatures.includes('HEATMAP');
const isChatbotEnabled = chatbotHealthLoaded && chatbotHealth.enabled;
const menuItems = [(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]