From b5db7dccefa95e6608481c47f279262275eea2ed Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Tue, 7 Feb 2023 09:00:00 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9F=F0=9F=90=9B=20ConnectorsView:=20Re?= =?UTF-8?q?move=20"upgrade=20all"=20button=20from=20cloud=20(#22324)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * wip * Update airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorsView.tsx Co-authored-by: Lake Mossman --------- Co-authored-by: Lake Mossman --- .../components/ConnectorsView.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorsView.tsx b/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorsView.tsx index 2bcd6fe1fa2f..f681e470d586 100644 --- a/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorsView.tsx +++ b/airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorsView.tsx @@ -12,6 +12,7 @@ import { DestinationDefinitionRead, SourceDefinitionRead } from "core/request/Ai import { useAvailableConnectorDefinitions } from "hooks/domain/connector/useAvailableConnectorDefinitions"; import { FeatureItem, useFeature } from "hooks/services/Feature"; import { useCurrentWorkspace } from "hooks/services/useWorkspace"; +import { isCloudApp } from "utils/app"; import ConnectorCell from "./ConnectorCell"; import styles from "./ConnectorsView.module.scss"; @@ -128,13 +129,16 @@ const ConnectorsView: React.FC = ({ (section === "available" && usedConnectorsDefinitions.length === 0)) && ( {allowUploadCustomImage && } - + {/* Connectors are automatically kept up-to-date on Cloud */} + {!isCloudApp() && ( + + )} );