mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-24 05:39:21 -05:00
fix for note duplication in recent notes
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ function deleteNode(node) {
|
||||
globalAllNoteIds = globalAllNoteIds.filter(e => e !== node.key);
|
||||
|
||||
// remove from recent notes
|
||||
recentNotes = recentNotes.filter(note => note !== node.key);
|
||||
globalRecentNotes = globalRecentNotes.filter(note => note !== node.key);
|
||||
|
||||
let next = node.getNextSibling();
|
||||
if (!next) {
|
||||
|
||||
Reference in New Issue
Block a user