mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
null guard if list was never set
This commit is contained in:
parent
d7a8b1616a
commit
d6645cbba9
@ -55,7 +55,9 @@ export class ListView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unmount() {
|
unmount() {
|
||||||
this._unloadList();
|
if (this._list) {
|
||||||
|
this._unloadList();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_onClick(event) {
|
_onClick(event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user