File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
web/libs/editor/src/tags/visual Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { getRoot , types } from "mobx-state-tree" ;
2
2
import { observer } from "mobx-react" ;
3
3
import { Collapse } from "antd" ;
4
+ import { ff } from "@humansignal/core" ;
4
5
5
6
import ProcessAttrsMixin from "../../mixins/ProcessAttrs" ;
6
7
import Registry from "../../core/Registry" ;
7
8
8
9
import Types from "../../core/Types" ;
9
10
import Tree from "../../core/Tree" ;
10
11
import { isSelfServe } from "../../utils/billing" ;
11
- import { FF_BULK_ANNOTATION } from "../../utils/feature-flags" ;
12
+ import { FF_BULK_ANNOTATION , FF_DEV_3391 } from "../../utils/feature-flags" ;
12
13
import { guidGenerator } from "../../utils/unique" ;
13
14
14
15
const { Panel } = Collapse ;
@@ -119,7 +120,7 @@ const Model = types
119
120
const CollapseModel = types . compose ( "CollapseModel" , Model , ProcessAttrsMixin ) ;
120
121
121
122
const HtxCollapse = observer ( ( { item } ) => {
122
- const isBulkMode = isFF ( FF_BULK_ANNOTATION ) && ! isSelfServe ( ) && item . store . hasInterface ( "annotation:bulk" ) ;
123
+ const isBulkMode = ff . isActive ( FF_BULK_ANNOTATION ) && ! isSelfServe ( ) && item . store . hasInterface ( "annotation:bulk" ) ;
123
124
// forceRender is needed to have proper `isReady` for nested object tags.
124
125
// with Interactive View All we won't need it, because tags are rendered as usual.
125
126
const extraProps = ff . isActive ( FF_DEV_3391 ) ? { } : { forceRender : true } ;
You can’t perform that action at this time.
0 commit comments