From 4922861e9ce13e9fed9036378d4535d4b561fccd Mon Sep 17 00:00:00 2001 From: adibarra <93070681+adibarra@users.noreply.github.com> Date: Fri, 20 Mar 2026 20:39:06 -0500 Subject: [PATCH] filter CSV export by selected precisions --- packages/app/src/components/inference/ui/ChartDisplay.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/app/src/components/inference/ui/ChartDisplay.tsx b/packages/app/src/components/inference/ui/ChartDisplay.tsx index 3f5930ea..353a38d9 100644 --- a/packages/app/src/components/inference/ui/ChartDisplay.tsx +++ b/packages/app/src/components/inference/ui/ChartDisplay.tsx @@ -265,8 +265,10 @@ export default function ChartDisplay() { } setIsLegendExpanded={setIsLegendExpanded} onExportCsv={() => { - const visibleData = graph.data.filter((d) => - activeHwTypes.has(d.hwKey as string), + const visibleData = graph.data.filter( + (d) => + activeHwTypes.has(d.hwKey as string) && + selectedPrecisions.includes(d.precision), ); const { headers, rows } = inferenceChartToCsv( visibleData,