Skip to content

A platform for community discussion. Free, open, simple.

FIX: makes sur allowUncategorized is passed to category-selector

Joffrey JAFFEUX0eb71cef98f2
diff --git a/app/assets/javascripts/select-kit/components/category-selector.js.es6 b/app/assets/javascripts/select-kit/components/category-selector.js.es6
index 9484e13844e..58ec15c0f60 100644
--- a/app/assets/javascripts/select-kit/components/category-selector.js.es6
+++ b/app/assets/javascripts/select-kit/components/category-selector.js.es6
@@ -9,6 +9,7 @@ export default MultiSelectComponent.extend({
rowComponent: "category-row",
categories: null,
blacklist: null,
+ allowUncategorized: true,
init() {
this._super();
@@ -21,6 +22,7 @@ export default MultiSelectComponent.extend({
});
this.get("rowComponentOptions").setProperties({
+ allowUncategorized: this.get("allowUncategorized"),
displayCategoryDescription: false
});
},