mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
missed a qunit test
This commit is contained in:
parent
352ac9e60c
commit
ef1c71ba98
@ -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…
x
Reference in New Issue
Block a user