added the construction and aviation map stuff as well as the site api and model
This commit is contained in:
parent
02cee8623a
commit
bcacf761c8
20 changed files with 2549 additions and 9 deletions
|
|
@ -37,6 +37,7 @@ import MiningIcon from "products/ventilation/MiningIcon";
|
|||
import { useAuth0 } from "@auth0/auth0-react";
|
||||
import FieldsIcon from "products/AgIcons/FieldsIcon";
|
||||
import PlaneIcon from "products/AviationIcons/PlaneIcon";
|
||||
import AirportMapIcon from "products/AviationIcons/AirportMapIcon";
|
||||
|
||||
const drawerWidth = 230;
|
||||
|
||||
|
|
@ -237,6 +238,20 @@ export default function SideNavigator(props: Props) {
|
|||
</ListItemButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
{(IsOmniAir || user.hasFeature("admin")) && (
|
||||
<Tooltip title="Aviation Map" placement="right">
|
||||
<ListItemButton
|
||||
id="tour-aviation-map"
|
||||
onClick={() => goTo("/aviationMap")}
|
||||
classes={getClasses("/aviationMap")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<AirportMapIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="Visual Farm" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
</List>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue