MappedMap update mechanism needs to be reworked, disable for now

This commit is contained in:
Bruno Windels 2019-02-27 23:23:20 +01:00
parent f8bd11f07b
commit 9e7811299d

View file

@ -29,9 +29,9 @@ export default class MappedMap extends BaseObservableMap {
const mappedValue = this._mappedValues.get(key); const mappedValue = this._mappedValues.get(key);
if (mappedValue !== undefined) { if (mappedValue !== undefined) {
const newParams = this._updater(value, params); const newParams = this._updater(value, params);
if (newParams !== undefined) { // if (newParams !== undefined) {
this.emitUpdate(key, mappedValue, newParams); this.emitUpdate(key, mappedValue, newParams);
} // }
} }
} }