Skip to content

Commit

Permalink
fix: LEAP-40: Remove FF that is hard coded on feature-flag file (#4704)
Browse files Browse the repository at this point in the history
* fix: LEAP-40: Remove FF that is hard coded on feature-flag file

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6002291906

---------

Co-authored-by: robot-ci-heartex <robot-ci-heartex@users.noreply.github.com>
  • Loading branch information
juliosgarbi and robot-ci-heartex committed Aug 29, 2023
1 parent c76a1a8 commit a4bab5d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion label_studio/frontend/dist/react-app/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion label_studio/frontend/dist/react-app/index.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions label_studio/frontend/src/utils/feature-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export const FF_LSDV_4711 = "fflag_fix_all_lsdv_4711_cors_errors_accessing_task_
export const FF_LSDV_E_297 = "fflag_feat_front_lsdv_e_297_increase_oss_to_enterprise_adoption_short";

export function isFF(id) {
if ( id === FF_LSDV_E_297 ) return true;

if (id in FEATURE_FLAGS) {
return FEATURE_FLAGS[id] === true;
}
Expand Down

0 comments on commit a4bab5d

Please sign in to comment.