discourse/app/assets/javascripts/select-kit/addon/components/topic-row.hbs
Daniel Waterworth 56c4804440
DEV: Always pass ancestors to category-link (#26638)
We want to remove uses of Category.findById. This change pushes the fetching up the chain of responsibility.
2024-04-16 15:28:36 -05:00

10 lines
297 B
Handlebars

<TopicStatus @topic={{this.item}} @disableActions={{true}} />
<div class="topic-title">{{replace-emoji this.item.title}}</div>
<div class="topic-categories">
{{bound-category-link
this.item.category
ancestors=this.item.category.predecessors
hideParent=true
link=false
}}
</div>