Skip to content

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

FIX: Render TopicStatus in topic header where it should be (#39979)

Mark VanLandingham8ce3c6e8db5d
diff --git a/frontend/discourse/app/components/nested/header.gjs b/frontend/discourse/app/components/nested/header.gjs
index 1cc354eb748..969ed81ac18 100644
--- a/frontend/discourse/app/components/nested/header.gjs
+++ b/frontend/discourse/app/components/nested/header.gjs
@@ -3,6 +3,7 @@ import { trustHTML } from "@ember/template";
import PluginOutlet from "discourse/components/plugin-outlet";
import TopicCategory from "discourse/components/topic-category";
import TopicMetadata from "discourse/components/topic-metadata";
+import TopicStatus from "discourse/components/topic-status";
import TopicTitleEditor from "discourse/components/topic-title-editor";
import lazyHash from "discourse/helpers/lazy-hash";
import dIcon from "discourse/ui-kit/helpers/d-icon";
@@ -31,6 +32,7 @@ import dIcon from "discourse/ui-kit/helpers/d-icon";
</div>
{{else}}
<h1 class="nested-view__title">
+ <TopicStatus @topic={{@topic}} />
<a
href={{@topic.url}}
{{on "click" @startEditingTopic}}