diff --git a/frontend/src/queries/nodes/InsightViz/GlobalAndOrFilters.tsx b/frontend/src/queries/nodes/InsightViz/GlobalAndOrFilters.tsx index 4ac27f78933e1..4346483ed6f45 100644 --- a/frontend/src/queries/nodes/InsightViz/GlobalAndOrFilters.tsx +++ b/frontend/src/queries/nodes/InsightViz/GlobalAndOrFilters.tsx @@ -34,7 +34,6 @@ export function GlobalAndOrFilters({ insightProps }: EditorFilterProps): JSX.Ele setQuery={updateQuerySource} eventNames={getAllEventNames(querySource as TrendsQuery | StickinessQuery, allActions)} taxonomicGroupTypes={taxonomicGroupTypes} - noTitle /> ) } diff --git a/frontend/src/queries/nodes/InsightViz/PropertyGroupFilters/PropertyGroupFilters.tsx b/frontend/src/queries/nodes/InsightViz/PropertyGroupFilters/PropertyGroupFilters.tsx index 85ddfae03059c..c27743c226ef3 100644 --- a/frontend/src/queries/nodes/InsightViz/PropertyGroupFilters/PropertyGroupFilters.tsx +++ b/frontend/src/queries/nodes/InsightViz/PropertyGroupFilters/PropertyGroupFilters.tsx @@ -5,7 +5,6 @@ import './PropertyGroupFilters.scss' import { propertyGroupFilterLogic } from './propertyGroupFilterLogic' import { PropertyFilters } from 'lib/components/PropertyFilters/PropertyFilters' import { isPropertyGroupFilterLike } from 'lib/components/PropertyFilters/utils' -import { GlobalFiltersTitle } from 'scenes/insights/common' import { IconCopy, IconDelete, IconPlusMini } from 'lib/lemon-ui/icons' import { TestAccountFilter } from '../filters/TestAccountFilter' import { LemonButton, LemonDivider } from '@posthog/lemon-ui' @@ -21,7 +20,6 @@ type PropertyGroupFiltersProps = { pageKey: string eventNames?: string[] taxonomicGroupTypes?: TaxonomicFilterGroupType[] - noTitle?: boolean } export function PropertyGroupFilters({ @@ -31,7 +29,6 @@ export function PropertyGroupFilters({ pageKey, eventNames = [], taxonomicGroupTypes, - noTitle, }: PropertyGroupFiltersProps): JSX.Element { const logicProps = { query, setQuery, pageKey } const { propertyGroupFilter } = useValues(propertyGroupFilterLogic(logicProps)) @@ -44,7 +41,7 @@ export function PropertyGroupFilters({ setPropertyFilters, } = useActions(propertyGroupFilterLogic(logicProps)) - const showHeader = !noTitle || (propertyGroupFilter.type && propertyGroupFilter.values.length > 1) + const showHeader = propertyGroupFilter.type && propertyGroupFilter.values.length > 1 return (