diff --git a/frontend/src/components/main-dashboard/MainDashboard.tsx b/frontend/src/components/main-dashboard/MainDashboard.tsx index e63e50c..c12eef6 100644 --- a/frontend/src/components/main-dashboard/MainDashboard.tsx +++ b/frontend/src/components/main-dashboard/MainDashboard.tsx @@ -203,6 +203,7 @@ export default function MainDashboard() { ]; } } + return ( state.comparisonInsight.shouldUsePScore + ); + const [localFilters, setLocalFilters] = useState(filters); const [localDimensions, setLocalDimensions] = useState(dimensions); const [localBaseDateRangeData, setLocalBaseDateRangeData] = @@ -82,6 +91,34 @@ export function SidebarReportConfig({ hasChangeInComparisonDateRange ); } + + function renderDebugControl() { + if (!getSettings().showDebugInfo) { + return null; + } + + return ( + <> + + DEBUG CONTROL + + Use PScore + + + + + ); + } + return ( <> + {renderDebugControl()}