From a8e10245f28532f7ac082d5688ca7b2a4fd79c8d Mon Sep 17 00:00:00 2001 From: Edmundo Ruiz Ghanem <168664+edmundito@users.noreply.github.com> Date: Tue, 3 Jan 2023 16:04:15 -0500 Subject: [PATCH] Remove Transfer title from card in replication settings when new table is enabled (#20762) --- .../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 && ( -
- - - +
}>