FEATURE: show likes column if sorting by likes

This commit is contained in:
Sam 2015-01-05 17:09:17 +11:00
parent d0d2a15180
commit ea2f892f4b
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ export default Ember.Component.extend({
return !!this.get('changeSort');
}.property(),
showLikes: function(){
return this.get('order') === "likes";
}.property(),
click: function(e){
var self = this;
var on = function(sel, callback){