diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/AddIngestion.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/AddIngestion.component.tsx index 63838c96e79..3183127a1bf 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/AddIngestion.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/AddIngestion.component.tsx @@ -723,6 +723,7 @@ const AddIngestion = ({ databaseServiceNames={databaseServiceNames} description={description} enableDebugLog={enableDebugLog} + formType={status} getExcludeValue={getExcludeValue} getIncludeValue={getIncludeValue} handleDatasetServiceName={(val) => setDatabaseServiceNames(val)} diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.test.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.test.tsx index 57b71509ccb..d49be769d72 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.test.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.test.tsx @@ -13,6 +13,7 @@ import { findAllByText, findByTestId, render } from '@testing-library/react'; import React from 'react'; +import { FormSubmitType } from '../../../enums/form.enum'; import { ServiceCategory } from '../../../enums/service.enum'; import { PipelineType } from '../../../generated/entity/services/ingestionPipelines/ingestionPipeline'; import { ConfigureIngestionProps } from '../addIngestion.interface'; @@ -66,6 +67,7 @@ const mockConfigureIngestion: ConfigureIngestionProps = { includeView: false, includeTags: false, pipelineType: PipelineType.Metadata, + formType: FormSubmitType.EDIT, queryLogDuration: 1, resultLimit: 100, stageFileLocation: '', diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx index 69ce7ca3f12..343fa51c6dd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx @@ -15,6 +15,7 @@ import { isNil } from 'lodash'; import { EditorContentRef } from 'Models'; import React, { Fragment, useRef, useState } from 'react'; import { FilterPatternEnum } from '../../../enums/filterPattern.enum'; +import { FormSubmitType } from '../../../enums/form.enum'; import { ServiceCategory } from '../../../enums/service.enum'; import { PipelineType } from '../../../generated/entity/services/ingestionPipelines/ingestionPipeline'; import { errorMsg, getSeparator } from '../../../utils/CommonUtils'; @@ -81,6 +82,7 @@ const ConfigureIngestion = ({ onUseFqnFilterClick, onCancel, onNext, + formType, }: ConfigureIngestionProps) => { const markdownRef = useRef(); @@ -496,6 +498,7 @@ const ConfigureIngestion = ({