mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-23 22:12:30 -05:00
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
2 changed files with 4 additions and 1 deletions
|
@ -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 a new issue