diff --git a/webapp/src/app/home/leaderboard/leaderboard.component.html b/webapp/src/app/home/leaderboard/leaderboard.component.html index 376867e9..8eab294a 100644 --- a/webapp/src/app/home/leaderboard/leaderboard.component.html +++ b/webapp/src/app/home/leaderboard/leaderboard.component.html @@ -11,9 +11,9 @@ @for (entry of leaderboard(); track entry.githubName) { {{ entry.rank }} - + - + {{ entry.name?.slice(0, 1)?.toUpperCase() }} @@ -23,25 +23,27 @@ {{ entry.score }} - - @if (entry.changesRequested && entry.changesRequested.length > 0) { -
- - {{ entry.changesRequested.length }} -
- } - @if (entry.approvals && entry.approvals.length > 0) { -
- - {{ entry.approvals.length }} -
- } - @if (entry.comments && entry.comments.length > 0) { -
- - {{ entry.comments.length }} -
- } + +
+ @if (entry.changesRequested && entry.changesRequested.length > 0) { +
+ + {{ entry.changesRequested.length }} +
+ } + @if (entry.approvals && entry.approvals.length > 0) { +
+ + {{ entry.approvals.length }} +
+ } + @if (entry.comments && entry.comments.length > 0) { +
+ + {{ entry.comments.length }} +
+ } +
}