Show GitHub badge for base repo
This commit is contained in:
parent
e3745e24e8
commit
f68cf85bfa
@ -14,12 +14,13 @@ export default async function GitHubForkStatusBadgeServer() {
|
||||
const {
|
||||
url,
|
||||
isForkedFromBase,
|
||||
isBaseRepo,
|
||||
label,
|
||||
title,
|
||||
isBehind,
|
||||
} = await getGitHubMetaWithFallback({ owner, repo, branch });
|
||||
|
||||
return isForkedFromBase
|
||||
return isForkedFromBase || isBaseRepo
|
||||
? <GitHubForkStatusBadgeClient {...{
|
||||
url,
|
||||
label,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user