chenyuan99 commented on code in PR #3963: URL: https://github.com/apache/ambari/pull/3963#discussion_r2011881712
########## ambari-admin/src/main/resources/ui/ambari-admin/src/layout/SideBar.tsx: ########## @@ -149,14 +171,25 @@ const SideBar = ({ clusterExists, isSidebarCollapsed,setIsSidebarCollapsed }: Si ); })} </div> - <div - className="py-3 d-flex justify-content-center sidebar-collapse icon-primary" - style={{ background: "#313d54" }} - onClick={() => { - setIsSidebarCollapsed(!isSidebarCollapsed); - }} - > - <FontAwesomeIcon icon={faAngleDoubleRight} /> + <div className="d-flex flex-column"> + {onLogout && ( + <div + className="py-2 d-flex justify-content-center sidebar-item" + onClick={handleLogout} + title="Logout" + > + <FontAwesomeIcon icon={faSignOutAlt} /> + </div> + )} + <div + className="py-3 d-flex justify-content-center sidebar-collapse icon-primary" + style={{ background: "#313d54" }} Review Comment: will update that -- 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: dev-unsubscr...@ambari.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For additional commands, e-mail: dev-h...@ambari.apache.org