diff --git a/ee/tabby-webserver/src/service/github_repository_provider.rs b/ee/tabby-webserver/src/service/github_repository_provider.rs index 544a9e8c51b6..fb78553415fb 100644 --- a/ee/tabby-webserver/src/service/github_repository_provider.rs +++ b/ee/tabby-webserver/src/service/github_repository_provider.rs @@ -192,6 +192,7 @@ impl RepositoryProvider for GithubRepositoryProviderServiceImpl { .list_github_provided_repositories_by_provider(vec![], None, None, None, None) .await? .into_iter() + .filter(|x| x.active) .map(|x| x.into()) .collect()) } diff --git a/ee/tabby-webserver/src/service/gitlab_repository_provider.rs b/ee/tabby-webserver/src/service/gitlab_repository_provider.rs index 505603ee6b1f..5c4d328d75cd 100644 --- a/ee/tabby-webserver/src/service/gitlab_repository_provider.rs +++ b/ee/tabby-webserver/src/service/gitlab_repository_provider.rs @@ -200,6 +200,7 @@ impl RepositoryProvider for GitlabRepositoryProviderServiceImpl { .list_gitlab_provided_repositories_by_provider(vec![], None, None, None, None) .await? .into_iter() + .filter(|x| x.active) .map(|x| x.into()) .collect()) }