FIX: tags index should show all tags belonging to a category even if they have never been used

This commit is contained in:
Neil Lalonde
2016-07-26 16:02:01 -04:00
parent 5ba8612fa8
commit 3c0df3510a
2 changed files with 10 additions and 2 deletions

View File

@@ -6,7 +6,11 @@
{{/if}}
{{#each sortedTags as |tag|}}
<div class='tag-box'>
{{discourse-tag tag.id}} <span class='tag-count'>x {{tag.count}}</span>
{{#if tag.count}}
{{discourse-tag tag.id}} <span class='tag-count'>x {{tag.count}}</span>
{{else}}
{{discourse-tag tag.id}}
{{/if}}
</div>
{{/each}}
<div class="clearfix" />