Browse Source

Merge pull request #24 from PeterMorganGH/patch-1

Fixed null name case.
performance-improvements
Jeffery Russell 4 years ago
committed by GitHub
parent
commit
ec58edd2bf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/js/profileGen.js

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

@ -31,7 +31,7 @@ function profileGen(username, container)
</div> </div>
</div> </div>
<div class="card-body"> <div class="card-body">
<h5 class="card-title mb-1">${user.name}</h5>
${user.name ? `<h5 class="card-title mb-1">${user.name}</h5>` : ""}
<a href="${user.html_url}" class="card-subtitle text-muted">${user.login}</a> <a href="${user.html_url}" class="card-subtitle text-muted">${user.login}</a>
${user.bio != null ? `<p class="my-2">${user.bio}</p>` : ""} ${user.bio != null ? `<p class="my-2">${user.bio}</p>` : ""}
<ul class="list-unstyled"> <ul class="list-unstyled">

Loading…
Cancel
Save