mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: show likes column if sorting by likes
This commit is contained in:
@@ -11,6 +11,10 @@ export default Ember.Component.extend({
|
|||||||
return !!this.get('changeSort');
|
return !!this.get('changeSort');
|
||||||
}.property(),
|
}.property(),
|
||||||
|
|
||||||
|
showLikes: function(){
|
||||||
|
return this.get('order') === "likes";
|
||||||
|
}.property(),
|
||||||
|
|
||||||
click: function(e){
|
click: function(e){
|
||||||
var self = this;
|
var self = this;
|
||||||
var on = function(sel, callback){
|
var on = function(sel, callback){
|
||||||
|
|||||||
Reference in New Issue
Block a user