Skip to content

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

fix: allow notebook editting

thecodrrb3e426f17155
diff --git a/packages/core/api/database.js b/packages/core/api/database.js
index 5a8e9fd35..54b92a909 100644
--- a/packages/core/api/database.js
+++ b/packages/core/api/database.js
@@ -219,7 +219,8 @@ class Database {
}
if (
extractValues(this.notebooks).findIndex(
- nb => nb.title === notebook.title
+ nb =>
+ nb.title === notebook.title && nb.dateCreated !== notebook.dateCreated
) > -1
) {
return;