mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 07:14:41 +08:00
FIX: disable by default limitMatches
This commit is contained in:
@ -88,7 +88,11 @@ export default SelectKitComponent.extend({
|
||||
computedContent = this.filterComputedContent(computedContent, computedValue, filter);
|
||||
}
|
||||
|
||||
return computedContent.slice(0, this.get("limitMatches"));
|
||||
if (this.get("limitMatches")) {
|
||||
return computedContent.slice(0, this.get("limitMatches"));
|
||||
}
|
||||
|
||||
return computedContent;
|
||||
},
|
||||
|
||||
@computed("computedValue", "computedContent.[]")
|
||||
|
Reference in New Issue
Block a user