diff --git a/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 b/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 index 66bde576377..c1844193b8f 100644 --- a/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 +++ b/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 @@ -89,10 +89,8 @@ export default function(connectionName, options) { var self = this; if (_connectorCache[connectionName]) { - var view, - childViews = _connectorCache[connectionName].map(function(vc) { - return vc.create({ context: self }); - }); + var view; + var childViews = _connectorCache[connectionName]; // If there is more than one view, create a container. Otherwise // just shove it in. diff --git a/app/assets/javascripts/discourse/templates/components/topic-map.hbs b/app/assets/javascripts/discourse/templates/components/topic-map.hbs index e26d698d386..14e4bee9b9d 100644 --- a/app/assets/javascripts/discourse/templates/components/topic-map.hbs +++ b/app/assets/javascripts/discourse/templates/components/topic-map.hbs @@ -46,8 +46,8 @@ {{/if}} {{#if showPosterAvatar}}
  • - {{#each details.fewParticipants}} - {{topic-participant participant=this}} + {{#each p in details.fewParticipants}} + {{topic-participant participant=p}} {{/each}}
  • {{/if}} @@ -56,8 +56,8 @@ {{#unless mapCollapsed}}
    - {{#each details.participants}} - {{topic-participant participant=this}} + {{#each p in details.participants}} + {{topic-participant participant=p}} {{/each}}
    @@ -65,16 +65,16 @@