From b0fc5c7e272cd65cb86bdadbd2c31913477f3236 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Wed, 16 Oct 2024 10:42:22 -0700 Subject: [PATCH] fix: correct boolean check for orgId error and improve visual separation of github connections --- frontend/src/pages/integrations/github/create.tsx | 2 +- frontend/src/pages/integrations/select-integration-auth.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/integrations/github/create.tsx b/frontend/src/pages/integrations/github/create.tsx index c002ea103..9cacba01b 100644 --- a/frontend/src/pages/integrations/github/create.tsx +++ b/frontend/src/pages/integrations/github/create.tsx @@ -478,7 +478,7 @@ export default function GitHubCreateIntegrationPage() { errorText={ integrationAuthOrgs?.length ? error?.message : "No organizations found" } - isError={Boolean(integrationAuthOrgs?.length && error?.message)} + isError={Boolean(integrationAuthOrgs?.length || error?.message)} >