replacing the menu element

This commit is contained in:
Nikola Bjelo committed 2018-11-07 13:11:53 +01:00
1 parent b722d4116c
commit a6564de34a
1 file changed
+3 -1
+3 -1
View File
@@ -166,6 +166,8 @@ class Header extends Component {
Charts
</Button>
{ menus }
<Button
href='https://www.advancedalgos.net/documentation-quick-start.shtml'
color='inherit'
@@ -192,7 +194,7 @@ class Header extends Component {
</IconButton>
</React.Fragment>
}
{ (width === 'xs' || width === 'sm') ? mobileMenusButton : menus }
{ (width === 'xs' || width === 'sm') ? mobileMenusButton : '' }
{ (width === 'xs' || width === 'sm') && this.state.mobileOpen ? menus : '' }
</Toolbar>
</AppBar>