Upgraded the projects view. Looks and acts MUCH nicer
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m21s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m21s
This commit is contained in:
@@ -4,6 +4,7 @@ export interface GiteaRepoInfo {
|
||||
size: number;
|
||||
defaultBranch: string;
|
||||
topics: string[];
|
||||
avatarUrl?: string;
|
||||
}
|
||||
|
||||
export interface GiteaConfig {
|
||||
@@ -74,6 +75,7 @@ export async function fetchGiteaRepoInfo(
|
||||
size: data.size || 0,
|
||||
defaultBranch: data.default_branch || "main",
|
||||
topics: Array.isArray(data.topics) ? data.topics : [],
|
||||
avatarUrl: data.avatar_url,
|
||||
};
|
||||
} catch (error) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user