mirror of https://github.com/vector-im/riot-web
Merge pull request #585 from matrix-org/dbkr/fix_exception_roomdir
Fix exception when clearing room dir searchpull/21833/head
commit
587325b36c
|
@ -402,6 +402,9 @@ module.exports = React.createClass({
|
|||
q.finally(fillPromise, () => {
|
||||
this._pendingFillRequests[dir] = false;
|
||||
}).then((hasMoreResults) => {
|
||||
if (this.unmounted) {
|
||||
return;
|
||||
}
|
||||
// Unpaginate once filling is complete
|
||||
this._checkUnfillState(!backwards);
|
||||
|
||||
|
|
Loading…
Reference in New Issue