From 0eb71cef98f2fa5a1ad28df11ea7c4c0b1497ff0 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 26 Jan 2018 14:41:30 +0100 Subject: [PATCH] FIX: makes sur allowUncategorized is passed to category-selector --- .../javascripts/select-kit/components/category-selector.js.es6 | 2 ++ 1 file changed, 2 insertions(+) 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 }); },