Skip to content

Commit 556e22d

Browse files
authored
fix: composition toggle should be feature flagged (#5517)
1 parent 7252d7f commit 556e22d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/dataExplorer/components/Schema.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import {QueryScope} from 'src/shared/contexts/query'
2525

2626
// Utils
2727
import {getOrg} from 'src/organizations/selectors'
28+
import {isFlagEnabled} from 'src/shared/utils/featureFlag'
2829

2930
// Style
3031
import './Schema.scss'
@@ -81,7 +82,9 @@ const Schema: FC = () => {
8182
<div className="scroll--container">
8283
<DapperScrollbars>
8384
<div className="schema-browser" data-testid="schema-browser">
84-
<SchemaBrowserHeading />
85+
{isFlagEnabled('schemaComposition') && (
86+
<SchemaBrowserHeading />
87+
)}
8588
<BucketSelector />
8689
<div className="container-side-bar">
8790
<MeasurementSelector />

0 commit comments

Comments
 (0)