added heaters page (still need to fix table) fixed the heater card on the site page

This commit is contained in:
csawatzky 2025-04-03 15:19:16 -06:00
parent 5065c07820
commit 43226717c1
7 changed files with 808 additions and 45 deletions

View file

@ -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>
)
}