mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 17:40:43 +08:00
DEV: Import makeArray
from discourse-common
instead using Ember
global (#8977)
This commit is contained in:
@ -81,7 +81,7 @@ export default SelectKitComponent.extend({
|
||||
},
|
||||
|
||||
selectedContent: computed("value.[]", "content.[]", function() {
|
||||
const value = Ember.makeArray(this.value).map(v =>
|
||||
const value = makeArray(this.value).map(v =>
|
||||
this.selectKit.options.castInteger && this._isNumeric(v) ? Number(v) : v
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user