diff --git a/app/assets/javascripts/discourse/components/topic-map.js.es6 b/app/assets/javascripts/discourse/components/topic-map.js.es6 index 9096c05c5e0..eed1e182388 100644 --- a/app/assets/javascripts/discourse/components/topic-map.js.es6 +++ b/app/assets/javascripts/discourse/components/topic-map.js.es6 @@ -22,6 +22,8 @@ export default Ember.Component.extend({ this.set('mapCollapsed', Discourse.Mobile.mobileView || (!this.get('topic.has_summary'))); }, + showPosterAvatar: Em.computed.gt('topic.posts_count', 2), + toggleMapClass: function() { return this.get('mapCollapsed') ? 'fa fa-chevron-down' : 'fa fa-chevron-up'; }.property('mapCollapsed'), diff --git a/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars b/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars index cb2b93f187f..aa0e30f3f5a 100644 --- a/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars +++ b/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars @@ -39,14 +39,16 @@ {{/if}} {{#if details.links.length}} -