Only show unread comments bubble if there are any

This commit is contained in:
Jonas Mueller 2019-08-02 19:43:58 +02:00 committed by Drew DeVault
parent b961b8adbf
commit ba054a9845
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@
</div>
<div class="comments">
<span class="icon">
{% if ticket.id in seen_ticket_ids %}
{% if ticket.id in seen_ticket_ids || comment_counts.get(ticket.id, 0) == 0 %}
{{icon("comments-o")}}
{% else %}
{{icon("comments")}}