Skip to content

Commit

Permalink
OCVN-237 Fixed selected items count
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeisavca committed Aug 3, 2016
1 parent 42a7225 commit 0eeb6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/oce/filters/inputs/multiple-select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MultipleSelect extends translatable(Component){
}

getSelectedCount(){
return this.getOptions().filter((_, id) => this.props.selected.has(id)).count();
return this.getOptions().filter((option, key) => this.props.selected.has(this.getId(option, key))).count();
}

transform(datum){
Expand Down

0 comments on commit 0eeb6b0

Please sign in to comment.