+
+
Organization Settings
+
+
+
+ {activeOrg.githubAppInstallations.map((installation) => (
+
+
+ {installation.targetLogin}
+ >
+ }
+ description={
+ "DevGuard uses a GitHub App to access your repositories and interact with your code."
+ }
+ Button={
+
+ Manage GitHub App
+
+ }
+ />
+ ))}
+
+ Install GitHub App
+
+ }
+ >
+
+
+ }
+ />
+
+
+
+ );
};
export default Home;
diff --git a/src/types/api/api.ts b/src/types/api/api.ts
index 3b3cfd4..2dc9d3e 100644
--- a/src/types/api/api.ts
+++ b/src/types/api/api.ts
@@ -41,8 +41,11 @@ export interface OrganizationDTO extends AppModelDTO {
githubAppInstallations: Array<{
installationId: number;
- targetType: string;
settingsUrl: string;
+
+ targetType: string;
+ targetLogin: string;
+ targetAvatarUrl: string;
}>;
}