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