allow deleting notes from note actions button, closes #3131

This commit is contained in:
zadam
2022-09-15 23:09:24 +02:00
parent 6c39b6f548
commit cf6330dee6
4 changed files with 22 additions and 7 deletions

View File

@@ -946,7 +946,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
if (this.noteContext
&& this.noteContext.notePath
&& !this.noteContext.note.isDeleted
&& !this.noteContext.note?.isDeleted
&& !this.noteContext.notePath.includes("root/hidden")
) {
const newActiveNode = await this.getNodeFromPath(this.noteContext.notePath);