Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 8e51769

Browse files
authored
fix: LSDV-5074: Add FF to outliner filter (#1361)
fix: LSDV-5074: Add a FF to outliner filter
1 parent df12c31 commit 8e51769

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/components/SidePanels/OutlinerPanel/ViewControls.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { BemWithSpecifiContext } from '../../../utils/bem';
99
import { SidePanelsContext } from '../SidePanelsContext';
1010
import './ViewControls.styl';
1111
import { Filter } from '../../Filter/Filter';
12-
import { FF_DEV_3873, isFF } from '../../../utils/feature-flags';
12+
import { FF_DEV_3873, FF_LSDV_3025, isFF } from '../../../utils/feature-flags';
1313

1414
const { Block, Elem } = BemWithSpecifiContext();
1515

@@ -108,7 +108,7 @@ export const ViewControls: FC<ViewControlsProps> = ({
108108
)}
109109
</Elem>
110110
)}
111-
{isFF(FF_DEV_3873) && (
111+
{isFF(FF_LSDV_3025) && (
112112
<Filter
113113
onChange={onFilterChange}
114114
filterData={regions?.regions}

src/utils/feature-flags.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ export const FF_DEV_3666 = 'fflag_fix_front_dev_3666_max_usages_on_region_creati
140140
*/
141141
export const FF_DEV_3873 = 'fflag_feat_front_dev_3873_labeling_ui_improvements_short';
142142

143+
/**
144+
* Filter component that filter regions on outliner component
145+
* @link https://app.launchdarkly.com/default/production/features/fflag_feat_front_lsdv_3025_outliner_filter_short
146+
*/
147+
export const FF_LSDV_3025 = 'fflag_feat_front_lsdv_3025_outliner_filter_short';
148+
143149
/**
144150
* Allow shourtcuts button to work with visible main textarea when there is no focus
145151
* @link https://app.launchdarkly.com/default/production/features/fflag_fix_front_dev_3730_shortcuts_initial_input_22122022_short

0 commit comments

Comments
 (0)