mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
missed a qunit test
This commit is contained in:
parent
352ac9e60c
commit
ef1c71ba98
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ Discourse.CategoryChooserView = Discourse.ComboboxView.extend({
|
|||
this._super();
|
||||
// TODO perhaps allow passing a param in to select if we need full or not
|
||||
this.set('content', _.filter(Discourse.Category.list(), function(c){
|
||||
return c.permission == Discourse.PermissionType.FULL;
|
||||
return c.permission === Discourse.PermissionType.FULL;
|
||||
}));
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue