Commit 1cc1546 1 parent 5ed675c commit 1cc1546 Copy full SHA for 1cc1546
File tree 1 file changed +6
-0
lines changed
app/configurator/components
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import {
26
26
useConfiguratorState ,
27
27
} from "@/configurator/configurator-state" ;
28
28
import { DataCubeMetadata } from "@/domain/data" ;
29
+ import { useFlag } from "@/flags" ;
29
30
import { useDataCubesMetadataQuery } from "@/graphql/hooks" ;
30
31
import SvgIcAdd from "@/icons/components/IcAdd" ;
31
32
import SvgIcChecked from "@/icons/components/IcChecked" ;
@@ -197,6 +198,11 @@ export const DatasetsControlSection = () => {
197
198
setActiveSection ( "general" ) ;
198
199
} ;
199
200
201
+ const isShown = useFlag ( "cubeMerge.enabled" ) ;
202
+ if ( ! isShown ) {
203
+ return null ;
204
+ }
205
+
200
206
return (
201
207
< ControlSection collapse >
202
208
< SubsectionTitle titleId = "controls-data" gutterBottom = { false } >
You can’t perform that action at this time.
0 commit comments