From d902a750b6794bd5939f8dd33c998d7a39f93349 Mon Sep 17 00:00:00 2001 From: Edmundo Ruiz Ghanem <168664+edmundito@users.noreply.github.com> Date: Thu, 19 Jan 2023 13:39:01 -0500 Subject: [PATCH] Disable auto-detect schema notifications settings (#21613) --- .../ConnectionSettingsPage/ConnectionSettingsPage.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/airbyte-webapp/src/pages/connections/ConnectionSettingsPage/ConnectionSettingsPage.tsx b/airbyte-webapp/src/pages/connections/ConnectionSettingsPage/ConnectionSettingsPage.tsx index 0663166e8eef..49b07342ebb6 100644 --- a/airbyte-webapp/src/pages/connections/ConnectionSettingsPage/ConnectionSettingsPage.tsx +++ b/airbyte-webapp/src/pages/connections/ConnectionSettingsPage/ConnectionSettingsPage.tsx @@ -19,7 +19,8 @@ export const ConnectionSettingsPageInner: React.FC = () => { const { connection } = useConnectionEditService(); const { mutateAsync: deleteConnection } = useDeleteConnection(); const canUpdateDataResidency = useFeature(FeatureItem.AllowChangeDataGeographies); - const allowAutoDetectSchema = useFeature(FeatureItem.AllowAutoDetectSchema); + // TODO: Disabled until feature is implemented in backend + const canSendSchemaUpdateNotifications = false; // useFeature(FeatureItem.AllowAutoDetectSchema); const [isAdvancedMode] = useAdvancedModeSetting(); useTrackPage(PageTrackingCodes.CONNECTIONS_ITEM_SETTINGS); @@ -27,7 +28,7 @@ export const ConnectionSettingsPageInner: React.FC = () => { return (
- {allowAutoDetectSchema && } + {canSendSchemaUpdateNotifications && } {canUpdateDataResidency && } {isAdvancedMode && }