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'); return !!this.get('changeSort');
}.property(), }.property(),
skipHeader: function() {
return Discourse.Mobile.mobileView;
}.property(),
showLikes: function(){ showLikes: function(){
return this.get('order') === "likes"; return this.get('order') === "likes";
}.property('order'), }.property('order'),

View file

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