mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-23 13:21:06 -05:00
fix for note duplication in recent notes
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ $(document).bind('keydown', 'alt+q', function() {
|
||||
recentNotesSelectBox.find('option').remove();
|
||||
|
||||
// remove the current note
|
||||
let recNotes = recentNotes.filter(note => note !== globalNote.detail.note_id);
|
||||
let recNotes = globalRecentNotes.filter(note => note !== globalNote.detail.note_id);
|
||||
|
||||
$.each(recNotes, function(key, valueNoteId) {
|
||||
let noteTitle = getFullName(valueNoteId);
|
||||
|
||||
Reference in New Issue
Block a user