Skip to content

Commit

Permalink
fix: only create new placeholder if no editor is open
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Dec 27, 2021
1 parent c9e448c commit 3140b17
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -111,7 +111,8 @@ export class NotesViewState {
if (
this.notes.length === 0 &&
this.appState.selectedTag?.isAllTag &&
this.noteFilterText === ''
this.noteFilterText === '' &&
!this.appState.notes.activeEditor
) {
this.createPlaceholderNote();
}
Expand Down

0 comments on commit 3140b17

Please sign in to comment.