diff --git a/app/assets/javascripts/discourse/routes/new-topic.js.es6 b/app/assets/javascripts/discourse/routes/new-topic.js.es6 index c3c3c066699..da9ebf7c40c 100644 --- a/app/assets/javascripts/discourse/routes/new-topic.js.es6 +++ b/app/assets/javascripts/discourse/routes/new-topic.js.es6 @@ -84,7 +84,7 @@ export default Discourse.Route.extend({ category = categories.find(item => { return ( item && - item.type === subCategory.toLowerCase() && + item.get(type) === subCategory.toLowerCase() && item.parent_category_id === main.id ); });