Skip to content

Commit

Permalink
prioritize projects above user repos
Browse files Browse the repository at this point in the history
  • Loading branch information
selfcontained committed Sep 15, 2023
1 parent 8b8b7de commit e08aae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/server/src/workspace/suggested-repos-sorter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ export const sortSuggestedRepositories = (repos: SuggestedRepositoryWithSorting[
export const suggestionFromProject = (repo: SuggestedRepository): SuggestedRepositoryWithSorting => {
return {
...repo,
priority: PRIORITY_LOW,
priority: PRIORITY_MEDIUM,
};
};

export const suggestionFromUserRepo = (repo: SuggestedRepository): SuggestedRepositoryWithSorting => {
return {
...repo,
priority: PRIORITY_MEDIUM,
priority: PRIORITY_LOW,
};
};

Expand Down

0 comments on commit e08aae5

Please sign in to comment.