Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: notes not appearing in notebooks

thecodrrf7fbe93f63b1
diff --git a/packages/core/collections/notebooks.js b/packages/core/collections/notebooks.js
index 7abd3ff7e..de5e76e11 100644
--- a/packages/core/collections/notebooks.js
+++ b/packages/core/collections/notebooks.js
@@ -41,11 +41,7 @@ export default class Notebooks extends Collection {
else if (newTopic && oldTopic.dateEdited > newTopic.dateEdited) {
remoteNotebook.topics[newTopicIndex] = {
...oldTopic,
- notes: setManipulator.union(
- oldTopic.notes,
- newTopic.notes,
- (n) => n.id
- ),
+ notes: setManipulator.union(oldTopic.notes, newTopic.notes),
dateEdited: Date.now(),
};
}