A platform for community discussion. Free, open, simple.
FIX: Display either the topic-status outlet or the fallback (#30938)
Jarek Radosz94b309b05e03
diff --git a/app/assets/javascripts/discourse/app/components/topic-status.gjs b/app/assets/javascripts/discourse/app/components/topic-status.gjsindex fdbc3f53992..ff7623aceae 100644--- a/app/assets/javascripts/discourse/app/components/topic-status.gjs+++ b/app/assets/javascripts/discourse/app/components/topic-status.gjs@@ -109,7 +109,12 @@ export default class TopicStatus extends Component {>{{icon "far-eye-slash"}}</span>{{~/if~}}- {{~#unless this.site.useGlimmerTopicList~}}+ {{~#if this.site.useGlimmerTopicList~}}+ <PluginOutlet+ @name="after-topic-status"+ @outletArgs={{hash topic=@topic}}+ />+ {{~else~}}{{~#each TopicStatusIcons.entries as |entry|~}}{{~#if (get @topic entry.attribute)~}}<span@@ -118,12 +123,7 @@ export default class TopicStatus extends Component {>{{icon entry.iconName}}</span>{{~/if~}}{{~/each~}}- {{~/unless~}}-- <PluginOutlet- @name="after-topic-status"- @outletArgs={{hash topic=@topic}}- />+ {{~/if~}}{{~! no whitespace ~}}</this.wrapperElement>{{~! no whitespace ~}}