Skip to content

Commit 0975274

Browse files
committed
update the condition to be reversed
1 parent ea91215 commit 0975274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function CreateIndexForm({
111111

112112
{/* Only show the fields if user is in the Start with an index flow or if they're in the control */}
113113
{fields.length > 0 &&
114-
(showIndexesGuidanceVariant ? currentTab === 'IndexFlow' : true) ? (
114+
(!showIndexesGuidanceVariant || currentTab === 'IndexFlow') ? (
115115
<CreateIndexFields
116116
schemaFields={schemaFieldNames}
117117
fields={fields}

0 commit comments

Comments
 (0)