Skip to content

Commit 1a3c96d

Browse files
committed
using a variable that will be in another pr
1 parent 6403a8c commit 1a3c96d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/compass-indexes/src/components/create-index-form/create-index-form.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ function CreateIndexForm({
8080
});
8181
}, [schemaFields]);
8282

83+
const showIndexesGuidanceQueryFlow =
84+
showIndexesGuidanceVariant && currentTab === 'QueryFlow';
85+
8386
return (
8487
<>
8588
<div
@@ -125,7 +128,7 @@ function CreateIndexForm({
125128
/>
126129
) : null}
127130

128-
{currentTab === 'QueryFlow' && <QueryFlowSection />}
131+
{showIndexesGuidanceQueryFlow && <QueryFlowSection />}
129132
</div>
130133
<Accordion data-testid="create-index-modal-toggle-options" text="Options">
131134
<div

0 commit comments

Comments
 (0)