Skip to content

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

feat: allow changing readonly & localonly for locked notes

thecodrr333ffe6ebb60
diff --git a/packages/core/api/vault.js b/packages/core/api/vault.js
index 27d07383a..03e308a34 100644
--- a/packages/core/api/vault.js
+++ b/packages/core/api/vault.js
@@ -278,6 +278,8 @@ export default class Vault {
headline: "",
title: note.title,
favorite: note.favorite,
+ localOnly: note.localOnly,
+ readonly: note.readonly,
dateEdited: Date.now(),
});
}