From f1f4b46b48bd66cef682f07caf5ae5ea1165481c Mon Sep 17 00:00:00 2001 From: csawatzky Date: Tue, 5 Aug 2025 13:46:24 -0600 Subject: [PATCH] showing the marketplace stuff regardless of whitelabel if the user has admin --- src/navigation/SideNavigator.tsx | 3 +-- src/userFeatures/UserFeatures.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/navigation/SideNavigator.tsx b/src/navigation/SideNavigator.tsx index 379fe07..86f823f 100644 --- a/src/navigation/SideNavigator.tsx +++ b/src/navigation/SideNavigator.tsx @@ -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) { } - {(isAg || isStreamline || isStaging() || isDevelopment()) && + {(isAg || isStreamline || user.hasFeature("admin")) && { let list: ProductDetails[] = []; - if (IsAdaptiveAgriculture()) { + if (IsAdaptiveAgriculture() || user.hasFeature("admin")) { list = list.concat(agFeatureList); } // if(IsAdCon()){