From f97058eb1ad4fd199f34fb564bdd53321bbc30c1 Mon Sep 17 00:00:00 2001
From: liangfung <1098486429@qq.com>
Date: Wed, 5 Jun 2024 14:53:03 +0800
Subject: [PATCH] fix(ui): fix add-repositories-dialog
---
.../repository/[kind]/detail/components/provider-detail.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/[kind]/detail/components/provider-detail.tsx b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/[kind]/detail/components/provider-detail.tsx
index 42e599411cbb..6971b9a50096 100644
--- a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/[kind]/detail/components/provider-detail.tsx
+++ b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/[kind]/detail/components/provider-detail.tsx
@@ -411,14 +411,14 @@ const ActiveRepoTable: React.FC<{
Add new repository
- Add new GitHub repository from this provider
+ Add new repository from this provider
setOpen(false)}
onCreated={onCreated}
repositories={inactiveRepositories}
- kind={RepositoryKind.Github}
+ kind={kind}
providerStatus={providerStatus}
fetchingRepos={!isInactiveRepositoriesLoaded}
/>