UX: Alwasy skip headers on topic lists on mobile.
Fixes topic lists filtered by tag on mobile.
This commit is contained in:
parent
d6fa248093
commit
d491d817a6
|
@ -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'),
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue