Ensure triggered updates get fired for filters in the new room list
Fixes https://github.com/vector-im/riot-web/issues/14404pull/21833/head
parent
b5e9b5fc32
commit
87120c6c26
|
@ -481,8 +481,9 @@ export class RoomListStore2 extends AsyncStore<ActionPayload> {
|
||||||
};
|
};
|
||||||
|
|
||||||
private onAlgorithmFilterUpdated = () => {
|
private onAlgorithmFilterUpdated = () => {
|
||||||
// The filter can happen off-cycle, so trigger an update if we need to.
|
// The filter can happen off-cycle, so trigger an update. The filter will have
|
||||||
this.updateFn.triggerIfWillMark();
|
// already caused a mark.
|
||||||
|
this.updateFn.trigger();
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue