mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 07:35:47 +08:00
We want to remove uses of Category.findById. This change pushes the fetching up the chain of responsibility.
10 lines
No EOL
297 B
Handlebars
Vendored
10 lines
No EOL
297 B
Handlebars
Vendored
<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> |