Browse Source

Changed link from GH api to the actual repository (closes #6)

config-and-link-fixes
jrtechs 5 years ago
parent
commit
76b818249a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/js/createOrgTable.js

+ 1
- 1
public/js/createOrgTable.js View File

@ -5,7 +5,7 @@ function generateHtmlRow(repoData) {
${repoData.language === 'null' ${repoData.language === 'null'
? '<div class="bg-light d-inline-block" style="height: 14px; width: 14px; border-radius: 7px"></div>' ? '<div class="bg-light d-inline-block" style="height: 14px; width: 14px; border-radius: 7px"></div>'
: `<i class="devicon-${repoData.language}-plain colored"></i>`} : `<i class="devicon-${repoData.language}-plain colored"></i>`}
<a class="text-reset ml-1" href="${repoData.url}">${repoData.name}</a>
<a class="text-reset ml-1" href="${repoData.html_url}" target="_blank">${repoData.name}</a>
</td> </td>
<td class="text-right">${repoData.forks}</td> <td class="text-right">${repoData.forks}</td>
</tr> </tr>

Loading…
Cancel
Save