mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-24 17:59:52 +00:00
parent
0bef4aea02
commit
b881a596ef
@ -24,7 +24,10 @@ import {
|
||||
INGESTION_WORKFLOW_UI_SCHEMA,
|
||||
} from '../../../../../constants/Services.constant';
|
||||
import { FormSubmitType } from '../../../../../enums/form.enum';
|
||||
import { PipelineType } from '../../../../../generated/api/services/ingestionPipelines/createIngestionPipeline';
|
||||
import {
|
||||
DbtConfigType,
|
||||
PipelineType,
|
||||
} from '../../../../../generated/api/services/ingestionPipelines/createIngestionPipeline';
|
||||
import {
|
||||
IngestionWorkflowData,
|
||||
IngestionWorkflowFormProps,
|
||||
@ -108,6 +111,8 @@ const IngestionWorkflowForm: FC<IngestionWorkflowFormProps> = ({
|
||||
...formData,
|
||||
dbtConfigSource: {
|
||||
...omitBy(formData.dbtConfigSource ?? {}, isUndefined),
|
||||
dbtConfigType: formData.dbtConfigSource
|
||||
?.dbtConfigType as DbtConfigType,
|
||||
},
|
||||
};
|
||||
}
|
||||
@ -140,6 +145,8 @@ const IngestionWorkflowForm: FC<IngestionWorkflowFormProps> = ({
|
||||
...formData,
|
||||
dbtConfigSource: {
|
||||
...omitBy(formData.dbtConfigSource ?? {}, isUndefined),
|
||||
dbtConfigType: formData.dbtConfigSource
|
||||
?.dbtConfigType as DbtConfigType,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user