mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 17:45:54 +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>
|
const TopicMap = <template>
|
||||||
{{#unless @model.postStream.loadingFilter}}
|
{{#unless @model.postStream.loadingFilter}}
|
||||||
|
<PluginOutlet
|
||||||
|
@name="topic-map"
|
||||||
|
@outletArgs={{hash topic=@model postStream=@postStream}}
|
||||||
|
>
|
||||||
<section class="topic-map__contents">
|
<section class="topic-map__contents">
|
||||||
<TopicMapSummary
|
<TopicMapSummary
|
||||||
@topic={{@model}}
|
@topic={{@model}}
|
||||||
@ -31,6 +35,7 @@ const TopicMap = <template>
|
|||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
</PluginOutlet>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</template>;
|
</template>;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user