rename 'is_support' to 'contains_messages'

This commit is contained in:
Régis Hanol
2015-11-26 18:40:54 +01:00
parent e8a6ff4808
commit ba0df7e4cd
11 changed files with 18 additions and 13 deletions
@@ -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;
});
},