mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 16:31:37 +02:00
Merge pull request #585 from matrix-org/dbkr/fix_exception_roomdir
Fix exception when clearing room dir search
This commit is contained in:
commit
587325b36c
@ -402,6 +402,9 @@ module.exports = React.createClass({
|
|||||||
q.finally(fillPromise, () => {
|
q.finally(fillPromise, () => {
|
||||||
this._pendingFillRequests[dir] = false;
|
this._pendingFillRequests[dir] = false;
|
||||||
}).then((hasMoreResults) => {
|
}).then((hasMoreResults) => {
|
||||||
|
if (this.unmounted) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Unpaginate once filling is complete
|
// Unpaginate once filling is complete
|
||||||
this._checkUnfillState(!backwards);
|
this._checkUnfillState(!backwards);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user