Hide pricing page on self hosted installations

This commit is contained in:
Tom Moor
2019-01-10 19:15:36 -08:00
parent 449f4f7a26
commit a7c669f90b

View File

@ -45,9 +45,11 @@ function TopNavigation({ sessions, loggedIn }: Props) {
<MenuItemDesktop>
<a href={integrations()}>Integrations</a>
</MenuItemDesktop>
<MenuItem>
<a href={pricing()}>Pricing</a>
</MenuItem>
{process.env.DEPLOYMENT === 'hosted' && (
<MenuItem>
<a href={pricing()}>Pricing</a>
</MenuItem>
)}
<MenuItemDesktop>
<a href={changelog()}>Changelog</a>
</MenuItemDesktop>