From 038d9d3296b7357627ca8ba0829e93bfb9d09d42 Mon Sep 17 00:00:00 2001 From: Edmundo Ruiz Ghanem Date: Wed, 21 Dec 2022 11:27:06 -0500 Subject: [PATCH] Remove Transfer title from card in replication settings when new table is enabled --- .../Connection/ConnectionForm/ConnectionFormFields.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/airbyte-webapp/src/views/Connection/ConnectionForm/ConnectionFormFields.tsx b/airbyte-webapp/src/views/Connection/ConnectionForm/ConnectionFormFields.tsx index 6e72cb9d0c6c..842425f11b07 100644 --- a/airbyte-webapp/src/views/Connection/ConnectionForm/ConnectionFormFields.tsx +++ b/airbyte-webapp/src/views/Connection/ConnectionForm/ConnectionFormFields.tsx @@ -9,7 +9,6 @@ import { useUnmount } from "react-use"; import { ControlLabels } from "components"; import { FormChangeTracker } from "components/common/FormChangeTracker"; import { Button } from "components/ui/Button"; -import { Heading } from "components/ui/Heading"; import { Input } from "components/ui/Input"; import { NamespaceDefinitionType } from "core/request/AirbyteClient"; @@ -51,23 +50,21 @@ export const ConnectionFormFields: React.FC = ({ valu }); const isNewStreamsTableEnabled = process.env.REACT_APP_NEW_STREAMS_TABLE ?? false; + const firstSectionTitle = isNewStreamsTableEnabled ? undefined : ; return ( <> {/* FormChangeTracker is here as it has access to everything it needs without being repeated */}
-
}> +
{allowAutoDetectSchema && ( )}
{!isNewStreamsTableEnabled && ( -
- - - +
}>