diff --git a/app/assets/javascripts/discourse/components/topic-list.js.es6 b/app/assets/javascripts/discourse/components/topic-list.js.es6 index effcb2c81..865f5fb9a 100644 --- a/app/assets/javascripts/discourse/components/topic-list.js.es6 +++ b/app/assets/javascripts/discourse/components/topic-list.js.es6 @@ -18,6 +18,10 @@ export default Ember.Component.extend({ return !!this.get('changeSort'); }.property(), + skipHeader: function() { + return Discourse.Mobile.mobileView; + }.property(), + showLikes: function(){ return this.get('order') === "likes"; }.property('order'), diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs b/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs index c09ae8a68..984a40198 100644 --- a/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs @@ -14,7 +14,6 @@ {{#if hasTopics}} {{topic-list - skipHeader=true showPosters=true currentUser=currentUser hideCategory=hideCategory