Merge branch 'integrations' into dev_environment
This commit is contained in:
commit
765ac72431
13 changed files with 1396 additions and 68 deletions
|
|
@ -45,6 +45,8 @@ import FieldListIcon from "products/AgIcons/FieldList";
|
|||
import MarketplaceIcon from "products/CommonIcons/marketplaceIcon";
|
||||
import DataDuckIcon from "products/Bindapt/DataDuckIcon";
|
||||
import ContractsIcon from "products/CommonIcons/contractIcon";
|
||||
import JohnDeereIcon from "products/CommonIcons/johnDeereIcon";
|
||||
import CNHiIcon from "products/CommonIcons/cnhiIcon";
|
||||
|
||||
const drawerWidth = 230;
|
||||
|
||||
|
|
@ -442,6 +444,34 @@ export default function SideNavigator(props: Props) {
|
|||
{open && <ListItemText primary="Marketplace" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
{user.hasFeature("john-deere") &&
|
||||
<Tooltip title="John Deere" placement="right">
|
||||
<ListItemButton
|
||||
id="tour-jd"
|
||||
onClick={() => goTo("/johndeere")}
|
||||
classes={getClasses("/johndeere")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<JohnDeereIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="John Deere" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
}
|
||||
{user.hasFeature("cnhi") &&
|
||||
<Tooltip title="Case New Holland" placement="right">
|
||||
<ListItemButton
|
||||
id="tour-cnhi"
|
||||
onClick={() => goTo("/cnhi")}
|
||||
classes={getClasses("/cnhi")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<CNHiIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="Case New Holland" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
}
|
||||
</List>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue