showing the marketplace stuff regardless of whitelabel if the user has admin

This commit is contained in:
csawatzky 2025-08-05 13:46:24 -06:00
parent 814054e5a3
commit f1f4b46b48
2 changed files with 2 additions and 3 deletions

View file

@ -48,7 +48,6 @@ import DataDuckIcon from "products/Bindapt/DataDuckIcon";
import ContractsIcon from "products/CommonIcons/contractIcon";
import JohnDeereIcon from "products/CommonIcons/johnDeereIcon";
import CNHiIcon from "products/CommonIcons/cnhiIcon";
import { isDevelopment, isStaging } from "utils";
const drawerWidth = 230;
@ -437,7 +436,7 @@ export default function SideNavigator(props: Props) {
</ListItemButton>
</Tooltip>
}
{(isAg || isStreamline || isStaging() || isDevelopment()) &&
{(isAg || isStreamline || user.hasFeature("admin")) &&
<Tooltip title="Marketplace" placement="right">
<ListItemButton
id="tour-marketplace"