Skip to content

Commit

Permalink
Merge pull request #2741 from phamleduy04/sort-repo-github-intergrati…
Browse files Browse the repository at this point in the history
…on-app

Add sort to Github integration dropdown box
  • Loading branch information
maidul98 authored Nov 19, 2024
2 parents 907537f + e8f09d2 commit 54f3f94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/hooks/api/integrationAuth/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ const fetchIntegrationAuthApps = async ({
`/api/v1/integration-auth/${integrationAuthId}/apps`,
{ params: searchParams }
);
return data.apps;

return data.apps.sort((a, b) => a.name.localeCompare(b.name));
};

const fetchIntegrationAuthTeams = async (integrationAuthId: string) => {
Expand Down

0 comments on commit 54f3f94

Please sign in to comment.