added the sites page and all other required imports for it to work, also fixed the map card
This commit is contained in:
parent
c5afdc2c3d
commit
3990dfbf4f
14 changed files with 1595 additions and 21 deletions
|
|
@ -36,6 +36,7 @@ import { useAuth0 } from "@auth0/auth0-react";
|
|||
import FieldsIcon from "products/AgIcons/FieldsIcon";
|
||||
import PlaneIcon from "products/AviationIcons/PlaneIcon";
|
||||
import AirportMapIcon from "products/AviationIcons/AirportMapIcon";
|
||||
import JobsiteIcon from "products/Construction/JobSiteIcon";
|
||||
|
||||
const drawerWidth = 230;
|
||||
|
||||
|
|
@ -265,6 +266,20 @@ export default function SideNavigator(props: Props) {
|
|||
</ListItemButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
{(isAdCon || user.hasFeature("admin")) && (
|
||||
<Tooltip title="Jobsites" placement="right">
|
||||
<ListItemButton
|
||||
id="tour-jobsites"
|
||||
onClick={() => goTo("/jobsites")}
|
||||
classes={getClasses("/jobsites")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<JobsiteIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="Jobsites" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
</List>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue