1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 09:21:54 +00:00

[system admin] side nav: click & highlight current nav item (#4055)

This commit is contained in:
llj
2019-09-04 17:47:56 +08:00
committed by Daniel Pan
parent 955c715868
commit 53221cf3ab
3 changed files with 28 additions and 6 deletions

View File

@@ -61,7 +61,12 @@ class SysAdmin extends React.Component {
return (
<div id="main">
<SidePanel isSidePanelClosed={isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} currentTab={currentTab}/>
<SidePanel
isSidePanelClosed={isSidePanelClosed}
onCloseSidePanel={this.onCloseSidePanel}
currentTab={currentTab}
tabItemClick={this.tabItemClick}
/>
<MainPanel>
<Router className="reach-router">
<Info path={siteRoot + 'sys/info'} />