mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
allow deleting notes from note actions button, closes #3131
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user