We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/new
1 parent 7e1020c commit d08a955Copy full SHA for d08a955
components/dashboard/src/components/RepositoryFinder.tsx
@@ -207,6 +207,20 @@ export default function RepositoryFinder({
207
isSelectable: true,
208
}));
209
210
+ // Add predefined repos to end of the list.
211
+ PREDEFINED_REPOS.forEach((repo) => {
212
+ if (
213
+ repo.url.toLowerCase().includes(searchString.toLowerCase()) ||
214
+ repo.repoName.toLowerCase().includes(searchString.toLowerCase())
215
+ ) {
216
+ result.push({
217
+ id: repo.url,
218
+ element: <PredefinedRepositoryOption repo={repo} />,
219
+ isSelectable: true,
220
+ });
221
+ }
222
223
+
224
if (hasMore) {
225
result.push({
226
id: "more",
0 commit comments