fix: new note button not working when multiple notes selected
This commit is contained in:
@@ -400,6 +400,7 @@ class NotesViewCtrl extends PureViewCtrl<unknown, NotesCtrlState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async createNewNote() {
|
async createNewNote() {
|
||||||
|
this.appState.notes.unselectNotes();
|
||||||
let title = `Note ${this.state.notes.length + 1}`;
|
let title = `Note ${this.state.notes.length + 1}`;
|
||||||
if (this.isFiltering()) {
|
if (this.isFiltering()) {
|
||||||
title = this.state.noteFilter.text;
|
title = this.state.noteFilter.text;
|
||||||
|
|||||||
Reference in New Issue
Block a user