mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
fix for note duplication in recent notes
This commit is contained in:
@@ -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