FIX: sub-categories was not getting selected for pre-filled topics
This commit is contained in:
parent
9cb656250d
commit
48b9e0d749
|
@ -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
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue