fixed frontend update after note deletion

This commit is contained in:
zadam
2021-07-26 21:11:51 +02:00
parent 6e7b722bf2
commit 3a78a75afc
5 changed files with 16 additions and 4 deletions

View File

@@ -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);