mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-17 17:04:51 +00:00
13 lines
391 B
Handlebars
13 lines
391 B
Handlebars
{{#each this.adComponents as |adComponent|}}
|
|
{{! Trick to force full destroy/re-render of component when route changes }}
|
|
{{#each (array this.router.currentRoute)}}
|
|
{{component
|
|
adComponent
|
|
placement=this.placement
|
|
category=this.category
|
|
postNumber=this.postNumber
|
|
indexNumber=this.indexNumber
|
|
tagName=this.childTagName
|
|
}}
|
|
{{/each}}
|
|
{{/each}} |