mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
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…
x
Reference in New Issue
Block a user