mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 18:34:59 +08:00

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> |