UX: Alwasy skip headers on topic lists on mobile.

Fixes topic lists filtered by tag on mobile.
This commit is contained in:
Robin Ward 2015-01-28 15:20:26 -05:00
parent d6fa248093
commit d491d817a6
2 changed files with 4 additions and 1 deletions

View file

@ -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'),

View file

@ -14,7 +14,6 @@
{{#if hasTopics}}
{{topic-list
skipHeader=true
showPosters=true
currentUser=currentUser
hideCategory=hideCategory