Skip to content

Commit

Permalink
fix(ui): add sort to github integration dropdown box
Browse files Browse the repository at this point in the history
  • Loading branch information
phamleduy04 committed Nov 15, 2024
1 parent 4acf941 commit e8f09d2
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 e8f09d2

Please sign in to comment.