null guard if list was never set

This commit is contained in:
Bruno Windels 2020-05-04 22:24:10 +02:00
parent d7a8b1616a
commit d6645cbba9

View File

@ -55,8 +55,10 @@ export class ListView {
}
unmount() {
if (this._list) {
this._unloadList();
}
}
_onClick(event) {
if (event.target === this._root) {