From 94b309b05e032dbb69f9b3b98499f220c8d8b25f Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Thu, 23 Jan 2025 03:25:34 +0100 Subject: [PATCH] FIX: Display either the topic-status outlet or the fallback (#30938) --- .../discourse/app/components/topic-status.gjs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/topic-status.gjs b/app/assets/javascripts/discourse/app/components/topic-status.gjs index 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"}} {{~/if~}} - {{~#unless this.site.useGlimmerTopicList~}} + {{~#if this.site.useGlimmerTopicList~}} + + {{~else~}} {{~#each TopicStatusIcons.entries as |entry|~}} {{~#if (get @topic entry.attribute)~}} {{icon entry.iconName}} {{~/if~}} {{~/each~}} - {{~/unless~}} - - + {{~/if~}} {{~! no whitespace ~}} {{~! no whitespace ~}}