From 21a59363ae27e25ec154a84f140705293eda8ab3 Mon Sep 17 00:00:00 2001 From: wangsijie Date: Mon, 23 Sep 2024 13:58:10 +0800 Subject: [PATCH] feat(console): hide the entrance of http email connector (#6616) --- packages/console/src/components/CreateConnectorForm/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/console/src/components/CreateConnectorForm/index.tsx b/packages/console/src/components/CreateConnectorForm/index.tsx index c0700b18c..a18dcf54a 100644 --- a/packages/console/src/components/CreateConnectorForm/index.tsx +++ b/packages/console/src/components/CreateConnectorForm/index.tsx @@ -52,6 +52,8 @@ function CreateConnectorForm({ onClose, isOpen: isFormOpen, type }: Props) { // Hide the entrance of adding SAML social connectors, users should go to Enterprise SSO if they want to use SAML. // Should not remove the SAML factory from GET /connector-factories API, since that could break the existing SAML connectors. .filter(({ id }) => id !== 'saml') + // Hide the entrance of adding HTTP Email connector + .filter(({ id }) => id !== 'http-email') ); return allGroups