mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-23 21:29:02 -05:00
converted recent changes to module
This commit is contained in:
@@ -49,8 +49,7 @@ function deleteNode(node) {
|
||||
|
||||
glob.allNoteIds = glob.allNoteIds.filter(e => e !== node.key);
|
||||
|
||||
// remove from recent notes
|
||||
glob.recentNotes = glob.recentNotes.filter(note => note !== node.key);
|
||||
recentNotes.removeRecentNote(node.key);
|
||||
|
||||
let next = node.getNextSibling();
|
||||
if (!next) {
|
||||
|
||||
Reference in New Issue
Block a user