A platform for community discussion. Free, open, simple.
FIX: makes sure category desc is displayed as row title when possible
Joffrey JAFFEUXf81af74ad834
diff --git a/app/assets/javascripts/select-kit/components/category-row.js.es6 b/app/assets/javascripts/select-kit/components/category-row.js.es6index 8d1c8cd3ed2..2f52887b989 100644--- a/app/assets/javascripts/select-kit/components/category-row.js.es6+++ b/app/assets/javascripts/select-kit/components/category-row.js.es6@@ -20,6 +20,12 @@ export default SelectKitRowComponent.extend({return displayCategoryDescription;},+ @computed("description", "category.name")+ title(categoryDescription, categoryName) {+ if (categoryDescription) return categoryDescription;+ return categoryName;+ },+@computed("computedContent.value", "computedContent.name")category(value, name) {if (Ember.isEmpty(value)) {