selection refactor caused wrench to show up in topic list for non-admins
This commit is contained in:
parent
8b95511816
commit
f4609fd6ae
|
@ -11,7 +11,7 @@ export default Discourse.View.extend(StringBuffer, {
|
||||||
],
|
],
|
||||||
actions: {
|
actions: {
|
||||||
select: function(){
|
select: function(){
|
||||||
this.set('controller.selected', this);
|
this.set('controller.selectedRow', this);
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleBookmark: function(){
|
toggleBookmark: function(){
|
||||||
|
@ -24,8 +24,8 @@ export default Discourse.View.extend(StringBuffer, {
|
||||||
},
|
},
|
||||||
|
|
||||||
selected: function(){
|
selected: function(){
|
||||||
return this.get('controller.selected')===this;
|
return this.get('controller.selectedRow')===this;
|
||||||
}.property('controller.selected'),
|
}.property('controller.selectedRow'),
|
||||||
|
|
||||||
unboundClassNames: function(){
|
unboundClassNames: function(){
|
||||||
var classes = [];
|
var classes = [];
|
||||||
|
|
Loading…
Reference in New Issue