diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Services/Ingestion/IngestionWorkflowForm/IngestionWorkflowForm.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Services/Ingestion/IngestionWorkflowForm/IngestionWorkflowForm.tsx index a6bf8f8f298..3f8eda9595b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Settings/Services/Ingestion/IngestionWorkflowForm/IngestionWorkflowForm.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Settings/Services/Ingestion/IngestionWorkflowForm/IngestionWorkflowForm.tsx @@ -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 = ({ ...formData, dbtConfigSource: { ...omitBy(formData.dbtConfigSource ?? {}, isUndefined), + dbtConfigType: formData.dbtConfigSource + ?.dbtConfigType as DbtConfigType, }, }; } @@ -140,6 +145,8 @@ const IngestionWorkflowForm: FC = ({ ...formData, dbtConfigSource: { ...omitBy(formData.dbtConfigSource ?? {}, isUndefined), + dbtConfigType: formData.dbtConfigSource + ?.dbtConfigType as DbtConfigType, }, }; }