mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 16:15:42 +08:00
DEV: Introduce topic category wrapper outlet (#28585)
* dev: Introduce topic category wrapper outlet * fix lint issue * rename the outlet so it is unique
This commit is contained in:
parent
ae111904ef
commit
bdd00a84b0
@ -160,7 +160,13 @@
|
|||||||
/>
|
/>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<TopicCategory @topic={{this.model}} class="topic-category" />
|
<PluginOutlet
|
||||||
|
@name="topic-category-wrapper"
|
||||||
|
@outletArgs={{hash topic=this.model}}
|
||||||
|
>
|
||||||
|
<TopicCategory @topic={{this.model}} class="topic-category" />
|
||||||
|
</PluginOutlet>
|
||||||
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</TopicTitle>
|
</TopicTitle>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user