FIX: makes sure we have a content to filter
This commit is contained in:
parent
a4445b0c1e
commit
85db6cd2d7
|
@ -38,7 +38,7 @@ export default ComboBoxComponent.extend({
|
||||||
|
|
||||||
@computed("content")
|
@computed("content")
|
||||||
filterable(content) {
|
filterable(content) {
|
||||||
return content.length >= 15;
|
return content && content.length >= 15;
|
||||||
},
|
},
|
||||||
|
|
||||||
@computed("allCategoriesUrl", "allCategoriesLabel", "noCategoriesUrl", "noCategoriesLabel")
|
@computed("allCategoriesUrl", "allCategoriesLabel", "noCategoriesUrl", "noCategoriesLabel")
|
||||||
|
|
|
@ -33,7 +33,7 @@ export default ComboBoxComponent.extend({
|
||||||
|
|
||||||
@computed("content")
|
@computed("content")
|
||||||
filterable(content) {
|
filterable(content) {
|
||||||
return content.length >= 15;
|
return content && content.length >= 15;
|
||||||
},
|
},
|
||||||
|
|
||||||
computeHeaderContent() {
|
computeHeaderContent() {
|
||||||
|
|
Loading…
Reference in New Issue