fix downvote

This commit is contained in:
_Bastler 2021-10-05 08:47:09 +02:00
parent e225e78639
commit 7851bd691e

View File

@ -15,8 +15,8 @@
matTooltip="{{'vote.down' | i18n}}">
<mat-icon inline="true">thumb_down</mat-icon>
</a>
<span *ngIf="entry.metadata && entry.metadata.unvote">&nbsp;</span>
<span class="voted" *ngIf="entry.metadata && entry.metadata.unvote">
<span *ngIf="entry.metadata && entry.metadata.downvote">&nbsp;</span>
<span class="voted" *ngIf="entry.metadata && entry.metadata.downvote">
<mat-icon *ngIf="entry.metadata && entry.metadata.upvoted" inline="true">thumb_up</mat-icon>
<mat-icon *ngIf="entry.metadata && entry.metadata.downvoted" inline="true">thumb_down</mat-icon>
<span>&nbsp;</span>