display repo full_name if description is not provided

This commit is contained in:
booploops 2022-02-22 19:05:15 -08:00
parent a59532baf1
commit 76f397d272
3 changed files with 182 additions and 1 deletions

View file

@ -21,7 +21,7 @@
<div class="row">
<div class="col flex-center">
<div>
<h4 class="repo-name">{{ repo.description }}</h4>
<h4 class="repo-name">{{ (repo.description != null) ? repo.description : repo.full_name }}</h4>
<div>⭐ {{ repo.stargazers_count }}</div>
</div>
</div>