From 6ad512367b81e00e7a725caf2225de1219119c6a Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Mon, 31 Oct 2022 21:08:57 +0100 Subject: [PATCH] perf: Only show data filters when needed --- app/components/chart-published.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chart-published.tsx b/app/components/chart-published.tsx index 3514dfea73..f60cdad6be 100644 --- a/app/components/chart-published.tsx +++ b/app/components/chart-published.tsx @@ -266,7 +266,7 @@ const ChartWithInteractiveFilters = React.forwardRef( }} > {/* Filters list & Interactive filters */} - {chartConfig.interactiveFiltersConfig && ( + {chartConfig.interactiveFiltersConfig?.dataFilters.active && (