Abhishek Pal created HDDS-16551:
-----------------------------------
Summary: [UI] Heatmap feature check happens twice in v2
Key: HDDS-16551
URL: https://issues.apache.org/jira/browse/HDDS-16551
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Recon
Reporter: Abhishek Pal
Assignee: Abhishek Pal
In v2 heatmap, we double check if the Heatmap feature is enabled or not.
The API call happens
[here|https://github.com/apache/ozone/blob/aed7ceac7cc515a796863b79066c9d5389732979/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/heatmap/heatmap.tsx#L91-L98]
Accordingly we update the state
[here|https://github.com/apache/ozone/blob/aed7ceac7cc515a796863b79066c9d5389732979/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/heatmap/heatmap.tsx#L114-L119]
It is fine to skip this check as page refresh will automatically determine
whether the heatmap is needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]