FIX: restores skipHeader computed property

This commit is contained in:
Joffrey JAFFEUX 2019-04-26 23:43:49 +02:00 committed by GitHub
parent c2a8a2bc97
commit 6952510fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -29,6 +29,8 @@ export default Ember.Component.extend({
return !!this.get("changeSort");
},
skipHeader: Ember.computed.reads("site.mobileView"),
@computed("order")
showLikes(order) {
return order === "likes";

View File

@ -17,7 +17,7 @@
bulkSelectEnabled=bulkSelectEnabled
canBulkSelect=canBulkSelect
selected=selected
skipHeader=site.mobileView
skipHeader=skipHeader
tagsForUser=tagsForUser}}
{{else}}
{{#unless loadingMore}}

View File

@ -1,4 +1,4 @@
{{#unless site.mobileView}}
{{#unless skipHeader}}
<thead>
{{raw "topic-list-header"
canBulkSelect=canBulkSelect