Skip to content

Commit

Permalink
perf: Only show data filters when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Oct 31, 2022
1 parent 94be4fd commit 6ad5123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chart-published.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const ChartWithInteractiveFilters = React.forwardRef(
}}
>
{/* Filters list & Interactive filters */}
{chartConfig.interactiveFiltersConfig && (
{chartConfig.interactiveFiltersConfig?.dataFilters.active && (
<ChartDataFilters
dataSet={dataSet}
dataSource={dataSource}
Expand Down

0 comments on commit 6ad5123

Please sign in to comment.