A platform for community discussion. Free, open, simple.
DEV: Add topic-list-after-category outlet (#30797)
David Taylor41bf8ddfd09b
diff --git a/app/assets/javascripts/discourse/app/components/topic-list/item.gjs b/app/assets/javascripts/discourse/app/components/topic-list/item.gjsindex 0769f3c11a8..81dfc8c8585 100644--- a/app/assets/javascripts/discourse/app/components/topic-list/item.gjs+++ b/app/assets/javascripts/discourse/app/components/topic-list/item.gjs@@ -330,6 +330,10 @@ export default class Item extends Component {@outletArgs={{hash topic=@topic}}/>{{categoryLink @topic.category}}+ <PluginOutlet+ @name="topic-list-after-category"+ @outletArgs={{hash topic=@topic}}+ />{{/unless}}{{discourseTags @topic mode="list"}}diff --git a/app/assets/javascripts/discourse/app/components/topic-list/item/topic-cell.gjs b/app/assets/javascripts/discourse/app/components/topic-list/item/topic-cell.gjsindex 140f389f886..4772f133503 100644--- a/app/assets/javascripts/discourse/app/components/topic-list/item/topic-cell.gjs+++ b/app/assets/javascripts/discourse/app/components/topic-list/item/topic-cell.gjs@@ -98,6 +98,10 @@ export default class TopicCell extends Component {@outletArgs={{hash topic=@topic}}/>{{categoryLink @topic.category}}+ <PluginOutlet+ @name="topic-list-after-category"+ @outletArgs={{hash topic=@topic}}+ />{{/unless}}{{/unless}}