DEV: Concatenate value-list choices array

Followup to 89d9704194
This commit is contained in:
Penar Musaraj 2020-02-14 11:33:17 -05:00
parent 89d9704194
commit ea0f20e331
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ export default Component.extend({
this.collection.removeObject(value);
if (this.choices) {
this.set("choices", this.choices.push(value).uniq());
this.set("choices", this.choices.concat([value]).uniq());
} else {
this.set("choices", makeArray(value));
}