devmadhuu commented on code in PR #5343:
URL: https://github.com/apache/ozone/pull/5343#discussion_r1336670428
##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/navBar/navBar.tsx:
##########
@@ -71,14 +72,9 @@ class NavBar extends React.Component<INavBarProps> {
});
};
- refresh = () => {
- console.log("refresh");
- this.props.history.push('/Heatmap');
- window.location.reload();
- }
-
render() {
const {location} = this.props;
+ const { isHeatmapAvailable } = this.state;
Review Comment:
@smitajoshi12 thanks for working on this patch. However can we keep the
variable naming consistent. Here we have defined as "`isHeatmapAvailable`" and
in heatmap.tsx file, we have defined as `isHeatmapEnabled`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]