Skip to content

Commit

Permalink
fix(flags): switch feature flags taxonomic filter loading to be async…
Browse files Browse the repository at this point in the history
… + search like insights (#27332)
  • Loading branch information
havenbarnes authored Jan 7, 2025
1 parent e34f627 commit 1c4faaf
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { getEventDefinitionIcon, getPropertyDefinitionIcon } from 'scenes/data-m
import { dataWarehouseJoinsLogic } from 'scenes/data-warehouse/external/dataWarehouseJoinsLogic'
import { dataWarehouseSceneLogic } from 'scenes/data-warehouse/settings/dataWarehouseSceneLogic'
import { experimentsLogic } from 'scenes/experiments/experimentsLogic'
import { featureFlagsLogic } from 'scenes/feature-flags/featureFlagsLogic'
import { groupDisplayId } from 'scenes/persons/GroupActorDisplay'
import { projectLogic } from 'scenes/projectLogic'
import { ReplayTaxonomicFilters } from 'scenes/session-recordings/filters/ReplayTaxonomicFilters'
Expand Down Expand Up @@ -442,8 +441,7 @@ export const taxonomicFilterLogic = kea<taxonomicFilterLogicType>([
name: 'Feature Flags',
searchPlaceholder: 'feature flags',
type: TaxonomicFilterGroupType.FeatureFlags,
logic: featureFlagsLogic,
value: 'featureFlags',
endpoint: combineUrl(`api/projects/${teamId}/feature_flags/`).url,
getName: (featureFlag: FeatureFlagType) => featureFlag.key || featureFlag.name,
getValue: (featureFlag: FeatureFlagType) => featureFlag.id || '',
getPopoverHeader: () => `Feature Flags`,
Expand Down

0 comments on commit 1c4faaf

Please sign in to comment.