Skip to content

A platform for community discussion. Free, open, simple.

UX: show all parent categories for destination topic

Arpit Jalan3bcd1485f7f0
diff --git a/app/assets/javascripts/discourse/templates/components/choose-topic.hbs b/app/assets/javascripts/discourse/templates/components/choose-topic.hbs
index 6d75f32b600..da9ca0a3de9 100644
--- a/app/assets/javascripts/discourse/templates/components/choose-topic.hbs
+++ b/app/assets/javascripts/discourse/templates/components/choose-topic.hbs
@@ -17,10 +17,7 @@
{{t.title}}
</span>
<span class="topic-categories">
- {{#if t.category.parentCategory}}
- {{bound-category-link t.category.parentCategory}}
- {{/if}}
- {{bound-category-link t.category}}
+ {{bound-category-link t.category recursive=true hideParent=true}}
</span>
</label>
</div>