original-version
David 2018-08-13 21:20:12 +04:30
parent 237040cadf
commit 5c6c14fcc5
No known key found for this signature in database
GPG Key ID: D19FF700A6D04B1C
2 changed files with 6 additions and 2 deletions

View File

@ -85,7 +85,11 @@ class App extends React.Component {
return (
<Router>
<span id="apppage">
{!currentPath.includes("marketing") ? <HomeNav /> : <MarketingNav />}
{!currentPath.includes("marketing") ? (
<HomeNav toggle2={this.toggle2} />
) : (
<MarketingNav />
)}
{collapsed && overlay}
<Routes />

View File

@ -101,7 +101,7 @@ class HomeNav extends React.Component {
</Link>
</NavItem>
<NavItem>
<NavLink to="#!" onClick={this.toggle2}>
<NavLink to="#!" onClick={this.props.toggle2}>
<span id="nav_lang4">Downloads</span>
</NavLink>
</NavItem>