Skip to content
Permalink
Browse files

DEV: Concatenate value-list choices array

Followup to 89d9704
  • Loading branch information
pmusaraj committed Feb 14, 2020
1 parent 89d9704 commit ea0f20e33107cc6cbae8b6222d368c0232492867
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/assets/javascripts/admin/components/value-list.js.es6
@@ -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));
}

0 comments on commit ea0f20e

Please sign in to comment.
You can’t perform that action at this time.