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}}
- {{clicks}} + {{link.clicks}} | - - {{#if title}}{{title}}{{else}}{{shorten-url url}}{{/if}} + + {{#if link.title}}{{link.title}}{{else}}{{shorten-url link.url}}{{/if}} - {{link-domain this}} + {{link-domain link}} |