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,7 +55,9 @@ export class ListView {
}
unmount() {
this._unloadList();
if (this._list) {
this._unloadList();
}
}
_onClick(event) {