Skip to content

Commit

Permalink
chore: Disable interactive time filter for table
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Feb 20, 2024
1 parent e082681 commit 34c1ee2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/configurator/components/filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ export const getTimeFilterOptions = (props: GetTimeFilterOptionsProps) => {
};
};

export const InteractiveTimeRangeToggle = (
const InteractiveTimeRangeToggle = (
props: Omit<FormControlLabelProps, "control" | "label">
) => {
const { checked, toggle } = useInteractiveTimeRangeToggle();
Expand Down
6 changes: 5 additions & 1 deletion app/configurator/table/table-chart-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,11 @@ export const TableColumnOptions = ({
id={`select-single-filter-time`}
/>
) : (
<TimeFilter key={component.iri} dimension={component} />
<TimeFilter
key={component.iri}
dimension={component}
disableInteractiveFilters
/>
)}
</ControlSectionContent>
</ControlSection>
Expand Down

0 comments on commit 34c1ee2

Please sign in to comment.