mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 12:40:40 +08:00
FIX: makes sure allowUncategorized is passed to underlying component
This commit is contained in:
parent
47bef377f6
commit
b821da80f8
|
@ -15,6 +15,14 @@ export default ComboBoxComponent.extend({
|
|||
noneRowComponent: "none-category-row",
|
||||
allowSubCategories: true,
|
||||
|
||||
init() {
|
||||
this._super();
|
||||
|
||||
this.get("rowComponentOptions").setProperties({
|
||||
allowUncategorized: this.get("allowUncategorized"),
|
||||
});
|
||||
},
|
||||
|
||||
filterComputedContent(computedContent, computedValue, filter) {
|
||||
if (isEmpty(filter)) { return computedContent; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user