added heaters page (still need to fix table) fixed the heater card on the site page
This commit is contained in:
parent
5065c07820
commit
43226717c1
7 changed files with 808 additions and 45 deletions
|
|
@ -38,6 +38,7 @@ import PlaneIcon from "products/AviationIcons/PlaneIcon";
|
|||
import AirportMapIcon from "products/AviationIcons/AirportMapIcon";
|
||||
import JobsiteIcon from "products/Construction/JobSiteIcon";
|
||||
import { getThemeType } from "theme";
|
||||
import ObjectHeaterIcon from "products/Construction/ObjectHeaterIcon";
|
||||
|
||||
const drawerWidth = 230;
|
||||
|
||||
|
|
@ -281,6 +282,20 @@ export default function SideNavigator(props: Props) {
|
|||
</ListItemButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
{(isAdCon || user.hasFeature("admin")) && (
|
||||
<Tooltip title="Heaters" placement="right">
|
||||
<ListItemButton
|
||||
id="tour-heaters"
|
||||
onClick={() => goTo("/heaters")}
|
||||
classes={getClasses("/heaters")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<ObjectHeaterIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="Heaters" />}
|
||||
</ListItemButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
</List>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue