Skip to content

Commit

Permalink
fix: exception when locking app
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Sep 10, 2020
1 parent cef1934 commit f7e9b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/views/notes/notes_view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f7e9b0e

Please sign in to comment.