fix: exception when locking app

This commit is contained in:
Baptiste Grob
2020-09-09 17:26:59 +02:00
parent cef1934a81
commit f7e9b0ec0c

View File

@@ -154,7 +154,7 @@ class NotesViewCtrl extends PureViewCtrl<{}, NotesState> {
/** @template */
public get activeEditorNote() {
return this.appState.getActiveEditor()?.note;
return this.appState?.getActiveEditor()?.note;
}
public get editorNotes() {