mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 21:27:10 +00:00
Merge pull request #2741 from phamleduy04/sort-repo-github-intergration-app
Add sort to Github integration dropdown box
This commit is contained in:
@@ -157,7 +157,8 @@ const fetchIntegrationAuthApps = async ({
|
|||||||
`/api/v1/integration-auth/${integrationAuthId}/apps`,
|
`/api/v1/integration-auth/${integrationAuthId}/apps`,
|
||||||
{ params: searchParams }
|
{ params: searchParams }
|
||||||
);
|
);
|
||||||
return data.apps;
|
|
||||||
|
return data.apps.sort((a, b) => a.name.localeCompare(b.name));
|
||||||
};
|
};
|
||||||
|
|
||||||
const fetchIntegrationAuthTeams = async (integrationAuthId: string) => {
|
const fetchIntegrationAuthTeams = async (integrationAuthId: string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user