From 21e300df90d76d46496ca8f3a2e64d0888c3b9e4 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 9 Mar 2026 00:15:57 -0700 Subject: [PATCH] Show tabs only when both app/tool repos exist --- apps/git/index.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/git/index.tsx b/apps/git/index.tsx index ede6956..5db1eb9 100644 --- a/apps/git/index.tsx +++ b/apps/git/index.tsx @@ -620,7 +620,7 @@ function RepoListPage({ baseUrl, external, repos, tunnelUrl }: RepoListPageProps )} - {repos.length > 0 && ( + {repos.length > 0 && appRepos.length > 0 && toolRepos.length > 0 && ( <> Repositories @@ -640,6 +640,14 @@ function RepoListPage({ baseUrl, external, repos, tunnelUrl }: RepoListPageProps )} + {repos.length > 0 && (appRepos.length === 0 || toolRepos.length === 0) && ( + <> + Repositories + + {!external &&