From b8d4ccd7e7b06ba3dca6cae89666b6cbf015b3ac Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Fri, 17 Apr 2026 12:16:26 -0700 Subject: [PATCH] fix(Chart): restore filterState prop removed during function component conversion --- superset-frontend/src/components/Chart/Chart.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/superset-frontend/src/components/Chart/Chart.tsx b/superset-frontend/src/components/Chart/Chart.tsx index 1b35c9df099..5a52ed22a0b 100644 --- a/superset-frontend/src/components/Chart/Chart.tsx +++ b/superset-frontend/src/components/Chart/Chart.tsx @@ -27,6 +27,7 @@ import { SqlaFormData, ClientErrorObject, DataRecordFilters, + type FilterState, type JsonObject, type AgGridChartState, } from '@superset-ui/core'; @@ -90,6 +91,7 @@ export interface ChartProps { onChartStateChange?: (chartState: AgGridChartState) => void; /** Whether to suppress the loading spinner (during auto-refresh) */ suppressLoadingSpinner?: boolean; + filterState?: FilterState; } export type Actions = {