mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
FIX: restores skipHeader computed property
This commit is contained in:
parent
c2a8a2bc97
commit
6952510fc4
|
@ -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";
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
bulkSelectEnabled=bulkSelectEnabled
|
||||
canBulkSelect=canBulkSelect
|
||||
selected=selected
|
||||
skipHeader=site.mobileView
|
||||
skipHeader=skipHeader
|
||||
tagsForUser=tagsForUser}}
|
||||
{{else}}
|
||||
{{#unless loadingMore}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{#unless site.mobileView}}
|
||||
{{#unless skipHeader}}
|
||||
<thead>
|
||||
{{raw "topic-list-header"
|
||||
canBulkSelect=canBulkSelect
|
||||
|
|
Loading…
Reference in New Issue
Block a user