mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
DEV: Add topic-map
plugin outlet wrapper (#31168)
This commit is contained in:
@ -5,6 +5,10 @@ import TopicMapSummary from "discourse/components/topic-map/topic-map-summary";
|
||||
|
||||
const TopicMap = <template>
|
||||
{{#unless @model.postStream.loadingFilter}}
|
||||
<PluginOutlet
|
||||
@name="topic-map"
|
||||
@outletArgs={{hash topic=@model postStream=@postStream}}
|
||||
>
|
||||
<section class="topic-map__contents">
|
||||
<TopicMapSummary
|
||||
@topic={{@model}}
|
||||
@ -31,6 +35,7 @@ const TopicMap = <template>
|
||||
/>
|
||||
</section>
|
||||
{{/if}}
|
||||
</PluginOutlet>
|
||||
{{/unless}}
|
||||
</template>;
|
||||
|
||||
|
Reference in New Issue
Block a user