Hide Discord & About Page too
This commit is contained in:
parent
064d7e4ccc
commit
5e4a205025
|
@ -55,15 +55,19 @@ function getNavigationOptions(
|
||||||
name: 'Your trades',
|
name: 'Your trades',
|
||||||
href: '/trades',
|
href: '/trades',
|
||||||
},
|
},
|
||||||
// Disable "Add Funds" for teams
|
// Disable irrelevant menu options for teams.
|
||||||
...(IS_PRIVATE_MANIFOLD
|
...(IS_PRIVATE_MANIFOLD
|
||||||
? []
|
? [
|
||||||
|
{
|
||||||
|
name: 'Leaderboards',
|
||||||
|
href: '/leaderboards',
|
||||||
|
},
|
||||||
|
]
|
||||||
: [
|
: [
|
||||||
{
|
{
|
||||||
name: 'Add funds',
|
name: 'Add funds',
|
||||||
href: '/add-funds',
|
href: '/add-funds',
|
||||||
},
|
},
|
||||||
]),
|
|
||||||
{
|
{
|
||||||
name: 'Leaderboards',
|
name: 'Leaderboards',
|
||||||
href: '/leaderboards',
|
href: '/leaderboards',
|
||||||
|
@ -76,6 +80,7 @@ function getNavigationOptions(
|
||||||
name: 'About',
|
name: 'About',
|
||||||
href: '/about',
|
href: '/about',
|
||||||
},
|
},
|
||||||
|
]),
|
||||||
{
|
{
|
||||||
name: 'Sign out',
|
name: 'Sign out',
|
||||||
href: '#',
|
href: '#',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user