mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
FIX: category-drop initial state was incorrect (#6743)
This commit is contained in:
@ -115,6 +115,11 @@ export default SelectKitComponent.extend({
|
||||
},
|
||||
mutateContent() {},
|
||||
|
||||
forceValues(values) {
|
||||
this.mutateValues(values);
|
||||
this._compute();
|
||||
},
|
||||
|
||||
filterComputedContent(computedContent, computedValues, filter) {
|
||||
return computedContent.filter(c => {
|
||||
return this._normalize(get(c, "name")).indexOf(filter) > -1;
|
||||
|
Reference in New Issue
Block a user