Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed Mar 28, 2024
1 parent e44cd61 commit 134ffcc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ee/tabby-ui/app/files/components/file-tree-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ interface FileTreeHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
type SearchOption = { path: string; type: string; id: string }

const repositorySearch = graphql(/* GraphQL */ `
query RepositorySearch($repository: String!, $filter: String, $topN: Int!) {
repositorySearch(repository: $repository, filter: $filter, topN: $topN) {
query RepositorySearch($repository: String!, $filter: String) {
repositorySearch(repository: $repository, filter: $filter) {
type
path
}
Expand Down Expand Up @@ -79,8 +79,7 @@ const FileTreeHeader: React.FC<FileTreeHeaderProps> = ({
query: repositorySearch,
variables: {
repository: curerntRepoName,
filter: repositorySearchFilter,
topN: 20
filter: repositorySearchFilter
},
pause: !repositorySearchFilter
})
Expand Down

0 comments on commit 134ffcc

Please sign in to comment.