From bfdff353b06f19baa1c88f1c21872ce069f48f42 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 29 Jul 2019 19:52:28 +0200 Subject: [PATCH] pass params in map operator update fn --- src/observable/list/MappedList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observable/list/MappedList.js b/src/observable/list/MappedList.js index 6d5f87eb..75c220fa 100644 --- a/src/observable/list/MappedList.js +++ b/src/observable/list/MappedList.js @@ -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); }