fix: only create new placeholder if no editor is open
This commit is contained in:
@@ -111,7 +111,8 @@ export class NotesViewState {
|
|||||||
if (
|
if (
|
||||||
this.notes.length === 0 &&
|
this.notes.length === 0 &&
|
||||||
this.appState.selectedTag?.isAllTag &&
|
this.appState.selectedTag?.isAllTag &&
|
||||||
this.noteFilterText === ''
|
this.noteFilterText === '' &&
|
||||||
|
!this.appState.notes.activeEditor
|
||||||
) {
|
) {
|
||||||
this.createPlaceholderNote();
|
this.createPlaceholderNote();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user