devmadhuu commented on code in PR #4755:
URL: https://github.com/apache/ozone/pull/4755#discussion_r1210162880
##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/navBar/navBar.tsx:
##########
@@ -28,9 +28,17 @@ const {Sider} = Layout;
interface INavBarProps extends RouteComponentProps<object> {
collapsed: boolean;
onCollapse: (arg: boolean) => void;
+ isheatmapavailable: boolean;
}
class NavBar extends React.Component<INavBarProps> {
+ constructor(props = {}) {
+ super(props);
+ this.state = {
+ isheatmapavailable: false
Review Comment:
lets keep this as default "true" and show menu and UI, For empty response,
don't render empty treemap, instead show "No Data Available" or some standard
message if we are following any convention. Will document this in Ozone doc.
--
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]