fix: update selected notes count when deleting multiple notes permanently (#808)
This commit is contained in:
@@ -325,6 +325,7 @@ export class NotesState {
|
||||
if (permanently) {
|
||||
for (const note of Object.values(this.selectedNotes)) {
|
||||
await this.application.deleteItem(note);
|
||||
delete this.selectedNotes[note.uuid];
|
||||
}
|
||||
} else {
|
||||
await this.changeSelectedNotes((mutator) => {
|
||||
|
||||
Reference in New Issue
Block a user