mirror of
https://github.com/techgaun/active-forks.git
synced 2024-11-16 09:08:32 +01:00
Merge pull request #59 from zvizvi/master
This commit is contained in:
commit
def2b23963
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ function updateDT(data) {
|
||||||
const forks = [];
|
const forks = [];
|
||||||
for (let fork of data) {
|
for (let fork of data) {
|
||||||
fork.repoLink = `<a href="https://github.com/${fork.full_name}">Link</a>`;
|
fork.repoLink = `<a href="https://github.com/${fork.full_name}">Link</a>`;
|
||||||
fork.ownerName = fork.owner ? fork.owner.login : '<strike><em>Unknown</em></strike>';
|
fork.ownerName = `<img src="${fork.owner.avatar_url || 'https://avatars.githubusercontent.com/u/0?v=4'}&s=48" width="24" height="24" class="mr-2 rounded-circle" />${fork.owner ? fork.owner.login : '<strike><em>Unknown</em></strike>'}`;
|
||||||
forks.push(fork);
|
forks.push(fork);
|
||||||
}
|
}
|
||||||
const dataSet = forks.map(fork =>
|
const dataSet = forks.map(fork =>
|
||||||
|
|
Loading…
Reference in a new issue