mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
MappedMap update mechanism needs to be reworked, disable for now
This commit is contained in:
parent
f8bd11f07b
commit
9e7811299d
@ -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);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user