mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Merge pull request #4948 from matrix-org/travis/room-list/fix-filter
Ensure triggered updates get fired for filters in the new room list
This commit is contained in:
commit
e6c7e7c28e
@ -481,8 +481,9 @@ export class RoomListStore2 extends AsyncStore<ActionPayload> {
|
||||
};
|
||||
|
||||
private onAlgorithmFilterUpdated = () => {
|
||||
// The filter can happen off-cycle, so trigger an update if we need to.
|
||||
this.updateFn.triggerIfWillMark();
|
||||
// The filter can happen off-cycle, so trigger an update. The filter will have
|
||||
// already caused a mark.
|
||||
this.updateFn.trigger();
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user