From 2dc0563042dbbcb695059ccfde0e99c17840ba08 Mon Sep 17 00:00:00 2001 From: Afrie Irham Date: Sun, 23 Jul 2023 22:02:59 +0800 Subject: [PATCH] view: fix integration name only show 3 words --- .../CloudIntegrationSection.tsx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsx b/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsx index 4ce1bd083b..e8e761a0f2 100644 --- a/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsx +++ b/frontend/src/views/IntegrationsPage/components/CloudIntegrationSection/CloudIntegrationSection.tsx @@ -67,18 +67,9 @@ export const CloudIntegrationSection = ({ width={70} alt="integration logo" /> - {cloudIntegration.name.split(" ").length > 2 ? ( -
-
{cloudIntegration.name.split(" ")[0]}
-
- {cloudIntegration.name.split(" ")[1]} {cloudIntegration.name.split(" ")[2]} -
-
- ) : ( -
- {cloudIntegration.name} -
- )} +
+ {cloudIntegration.name} +
{cloudIntegration.isAvailable && Boolean(integrationAuths?.[cloudIntegration.slug]) && (