mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
fixed frontend update after note deletion
This commit is contained in:
@@ -455,6 +455,11 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
|
||||
const note = await froca.getNote(node.data.noteId);
|
||||
|
||||
if (!note || note.isDeleted) {
|
||||
return;
|
||||
}
|
||||
|
||||
const activeNoteContext = appContext.tabManager.getActiveContext();
|
||||
|
||||
const $span = $(node.span);
|
||||
|
||||
Reference in New Issue
Block a user