Merge pull request #2741 from phamleduy04/sort-repo-github-intergration-app

Add sort to Github integration dropdown box
This commit is contained in:
Maidul Islam
2024-11-19 11:46:43 -05:00
committed by GitHub

View File

@@ -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) => {