rename 'is_support' to 'contains_messages'
This commit is contained in:
@@ -21,7 +21,7 @@ export default ComboboxView.extend({
|
||||
return categories.filter(c => {
|
||||
if (scopedCategoryId && c.get('id') !== scopedCategoryId && c.get('parent_category_id') !== scopedCategoryId) { return false; }
|
||||
if (c.get('isUncategorizedCategory')) { return false; }
|
||||
if (c.get('is_support')) { return false; }
|
||||
if (c.get('contains_messages')) { return false; }
|
||||
return c.get('permission') === Discourse.PermissionType.FULL;
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user