mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 19:08:33 +08:00
56c4804440
We want to remove uses of Category.findById. This change pushes the fetching up the chain of responsibility.
10 lines
297 B
Handlebars
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> |