From 18e4f72b1dedb242dbff78778dce42bf4e4128a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Og=C3=B3rek?= Date: Thu, 20 Jun 2024 14:43:40 +0200 Subject: [PATCH] ref: Do not disable branching when removing GitHub connection (#27412) --- .../BranchManagement/BranchManagement.tsx | 35 ++++++++------- .../BranchManagement/BranchPanels.tsx | 43 +++++++++++-------- .../Integrations/IntegrationConnection.tsx | 4 ++ .../GithubIntegration/GithubSection.tsx | 28 ++---------- 4 files changed, 53 insertions(+), 57 deletions(-) diff --git a/apps/studio/components/interfaces/BranchManagement/BranchManagement.tsx b/apps/studio/components/interfaces/BranchManagement/BranchManagement.tsx index 9ea6f8a0a47..4389287d2fa 100644 --- a/apps/studio/components/interfaces/BranchManagement/BranchManagement.tsx +++ b/apps/studio/components/interfaces/BranchManagement/BranchManagement.tsx @@ -214,27 +214,32 @@ const BranchManagement = () => {
-

GitHub branch workflow

+

+ {repo ? 'GitHub branch workflow' : 'No GitHub integration connected'} +

- + + {repo} + + + )} - - - + + +