We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce793a commit 0e96115Copy full SHA for 0e96115
packages/compass-indexes/src/modules/create-index.tsx
@@ -367,13 +367,14 @@ export const createIndexFormSubmitted = (): IndexesThunkAction<
367
> => {
368
return (dispatch, getState, { track }) => {
369
const currentTab = getState().createIndex.currentTab;
370
+
371
track('Create Index Button Clicked', {
372
context: 'Create Index Modal',
- flow: !currentTab
373
- ? undefined
374
- : currentTab === 'IndexFlow'
375
- ? 'Start with Index'
376
- : 'Start with Query',
+ flow: currentTab
+ ? currentTab === 'IndexFlow'
+ ? 'Start with Index'
+ : 'Start with Query'
377
+ : undefined,
378
});
379
380
// Check for field errors.
0 commit comments