fix for note duplication in recent notes

This commit is contained in:
azivner
2017-09-06 21:11:19 -04:00
parent 465c9e56eb
commit b6007a25e8
3 changed files with 5 additions and 5 deletions

View File

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