The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Bring in changes from branch management 2
Joshen Lim4de48f0c24b9
diff --cc studio/components/interfaces/BranchManagement/BranchManagement.tsxindex e7380832d15,2c7cfe58bb8..e0ed504aafe--- a/studio/components/interfaces/BranchManagement/BranchManagement.tsx+++ b/studio/components/interfaces/BranchManagement/BranchManagement.tsx@@@ -52,19 -52,13 +52,18 @@@ const BranchManagement = () =>const [showDisableBranching, setShowDisableBranching] = useState(false)const [selectedBranchToDelete, setSelectedBranchToDelete] = useState<Branch>()- const { data: integrations, isLoading: isLoadingIntegrations } = useOrgIntegrationsQuery({- orgSlug: selectedOrg?.slug,- })+ const {+ data: integrations,+ error: integrationsError,+ isLoading: isLoadingIntegrations,+ isError: isErrorIntegrations,+ isSuccess: isSuccessIntegrations,+ } = useOrgIntegrationsQuery({ orgSlug: selectedOrg?.slug })- const githubIntegration = integrations?.find(- (integration) =>- integration.integration.name === 'GitHub' &&- integration.organization.slug === selectedOrg?.slug- )- const githubConnection = githubIntegration?.connections.find(+++ const githubConnections = integrations+ ?.filter((integration) => integration.integration.name === 'GitHub')+ .flatMap((integration) => integration.connections)+ const githubConnection = githubConnections?.find((connection) => connection.supabase_project_ref === ref)