Skip to content

Commit ab95531

Browse files
committed
Fix FF issue
1 parent 0f86e18 commit ab95531

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

web/apps/labelstudio/src/pages/CreateProject/Import/Import.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { ff } from "@humansignal/core";
22
import { SampleDatasetSelect } from "@humansignal/core/blocks/SampleDatasetSelect/SampleDatasetSelect";
3-
import { IconError, IconFileUpload, IconInfo, IconUpload } from "@humansignal/icons";
3+
import { IconError, IconFileUpload, IconInfo, IconTrash, IconUpload } from "@humansignal/icons";
44
import { Badge } from "@humansignal/shad/components/ui/badge";
55
import { cn as scn } from "@humansignal/shad/utils";
66
import { CodeBlock, SimpleCard } from "@humansignal/ui";
77
import { Button } from "apps/labelstudio/src/components";
88
import { useAtomValue } from "jotai";
99
import Input from "libs/datamanager/src/components/Common/Input/Input";
10-
import { IconTrash } from "libs/editor/src/assets/icons";
1110
import { useCallback, useEffect, useReducer, useRef, useState } from "react";
1211
import { Modal } from "../../../components/Modal/Modal";
1312
import { useAPI } from "../../../providers/ApiProvider";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// TODO: migrate all usages to core feature flags instead of local ones
22
// local ones used in LSO, Editor and DM
3-
export * from "@humansignal/core/lib/utils/feature-flags";
3+
export * from "@humansignal/core/lib/utils/feature-flags/ff";

web/libs/core/src/lib/utils/feature-flags/ff.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { FF_SAMPLE_DATASETS } from "./flags";
2+
13
const FEATURE_FLAGS = window.APP_SETTINGS?.feature_flags || {};
24

35
// TODO: remove the override + if statement once LSE and LSO start building
@@ -9,6 +11,7 @@ const FLAGS_OVERRIDE: Record<string, boolean> = {
911
//
1012
// Add your flags overrides as following:
1113
// [FF_FLAG_NAME]: boolean
14+
[FF_SAMPLE_DATASETS]: true,
1215
};
1316

1417
/**

0 commit comments

Comments
 (0)