forked from mystiq/hydrogen-web
null guard if list was never set
This commit is contained in:
parent
d7a8b1616a
commit
d6645cbba9
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ export class ListView {
|
|||
}
|
||||
|
||||
unmount() {
|
||||
this._unloadList();
|
||||
if (this._list) {
|
||||
this._unloadList();
|
||||
}
|
||||
}
|
||||
|
||||
_onClick(event) {
|
||||
|
|
Loading…
Reference in a new issue