diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx index 5c2b2f267b9..e2521969834 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx @@ -252,6 +252,14 @@ const Ingestion: React.FC = ({ } }; + const isDataSightIngestionExists = useMemo( + () => + ingestionData.some( + (ingestion) => ingestion.pipelineType === PipelineType.DataInsight + ), + [ingestionData] + ); + const getAddIngestionButton = (type: PipelineType) => { return (