Skip to content

Commit 094dba9

Browse files
committed
Fix URLs
1 parent 4af7b61 commit 094dba9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

generate/component/sponsor/item.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ const oc = 'https://opencollective.com/'
1919
* @returns {Element}
2020
*/
2121
export function item(d) {
22-
const footer = [ocBadge(oc)]
22+
const footer = []
2323

24-
if ('oc' in d && d.github) {
24+
if ('oc' in d && d.oc) {
25+
footer.push(ocBadge(d.oc))
26+
}
27+
28+
if (d.github) {
2529
footer.push(ghBadge(d.github))
2630
}
2731

0 commit comments

Comments
 (0)