|
@@ -10,7 +10,7 @@ import {
|
|
import { useFormValidation } from '../../hooks/Form';
|
|
import { useFormValidation } from '../../hooks/Form';
|
|
import { formatForm, getMetricOptions } from '../../utils/Form';
|
|
import { formatForm, getMetricOptions } from '../../utils/Form';
|
|
import { DataType } from '../collections/Types';
|
|
import { DataType } from '../collections/Types';
|
|
-import CreateStepTwo from './CreateStepTwo';
|
|
|
|
|
|
+import CreateForm from './CreateForm';
|
|
import { IndexType, ParamPair } from './Types';
|
|
import { IndexType, ParamPair } from './Types';
|
|
|
|
|
|
const CreateIndex = (props: {
|
|
const CreateIndex = (props: {
|
|
@@ -143,7 +143,7 @@ const CreateIndex = (props: {
|
|
handleConfirm={handleCreateIndex}
|
|
handleConfirm={handleCreateIndex}
|
|
confirmDisabled={disabled}
|
|
confirmDisabled={disabled}
|
|
>
|
|
>
|
|
- <CreateStepTwo
|
|
|
|
|
|
+ <CreateForm
|
|
updateForm={updateStepTwoForm}
|
|
updateForm={updateStepTwoForm}
|
|
metricOptions={metricOptions}
|
|
metricOptions={metricOptions}
|
|
indexOptions={indexOptions}
|
|
indexOptions={indexOptions}
|
|
@@ -152,7 +152,7 @@ const CreateIndex = (props: {
|
|
validation={validation}
|
|
validation={validation}
|
|
indexParams={indexCreateParams}
|
|
indexParams={indexCreateParams}
|
|
indexTypeChange={onIndexTypeChange}
|
|
indexTypeChange={onIndexTypeChange}
|
|
- ></CreateStepTwo>
|
|
|
|
|
|
+ />
|
|
</DialogTemplate>
|
|
</DialogTemplate>
|
|
);
|
|
);
|
|
};
|
|
};
|