forked from mystiq/hydrogen-web
pass params in map operator update fn
This commit is contained in:
parent
7a6e91de84
commit
bfdff353b0
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export default class MappedList extends BaseObservableList {
|
|||
onUpdate(index, value, params) {
|
||||
const mappedValue = this._mappedValues[index];
|
||||
if (this._updater) {
|
||||
this._updater(mappedValue, value);
|
||||
this._updater(mappedValue, params, value);
|
||||
}
|
||||
this.emitUpdate(index, mappedValue, params);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue