Merge branch 'develop' into feature/autocomplete-tags

This commit is contained in:
Antonella Sgarlatta
2021-05-26 18:52:35 -03:00
7 changed files with 18 additions and 11 deletions

View File

@@ -400,6 +400,7 @@ class NotesViewCtrl extends PureViewCtrl<unknown, NotesCtrlState> {
}
async createNewNote() {
this.appState.notes.unselectNotes();
let title = `Note ${this.state.notes.length + 1}`;
if (this.isFiltering()) {
title = this.state.noteFilter.text;