mirror of
https://github.com/discourse/discourse.git
synced 2025-07-12 18:32:40 +08:00
FIX: disable by default limitMatches
This commit is contained in:
@ -110,7 +110,11 @@ export default SelectKitComponent.extend({
|
||||
computedContent = this.filterComputedContent(computedContent, computedValues, filter);
|
||||
}
|
||||
|
||||
return computedContent.slice(0, this.get("limitMatches"));
|
||||
if (this.get("limitMatches")) {
|
||||
return computedContent.slice(0, this.get("limitMatches"));
|
||||
}
|
||||
|
||||
return computedContent;
|
||||
},
|
||||
|
||||
baseHeaderComputedContent() {
|
||||
|
Reference in New Issue
Block a user