hotfix so that the marketplace is only on the ag platform
This commit is contained in:
parent
ff6a7096de
commit
47adfb9efc
1 changed files with 14 additions and 12 deletions
|
|
@ -434,18 +434,20 @@ export default function SideNavigator(props: Props) {
|
|||
</ListItemButton>
|
||||
</Tooltip>
|
||||
}
|
||||
<Tooltip title="Marketplace" placement="right">
|
||||
<ListItemButton
|
||||
id="tour-marketplace"
|
||||
onClick={() => goTo("/marketplace")}
|
||||
classes={getClasses("/marketplace")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<MarketplaceIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="Marketplace" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
{isAg &&
|
||||
<Tooltip title="Marketplace" placement="right">
|
||||
<ListItemButton
|
||||
id="tour-marketplace"
|
||||
onClick={() => goTo("/marketplace")}
|
||||
classes={getClasses("/marketplace")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<MarketplaceIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="Marketplace" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
}
|
||||
{user.hasFeature("john-deere") &&
|
||||
<Tooltip title="John Deere" placement="right">
|
||||
<ListItemButton
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue