mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
server side WIP - saving encrypted note now works, changing terminology of "encrypted note" to "protected note"
This commit is contained in:
@@ -58,7 +58,7 @@ const noteHistory = (function() {
|
||||
let noteTitle = historyItem.note_title;
|
||||
let noteText = historyItem.note_text;
|
||||
|
||||
if (historyItem.encryption > 0) {
|
||||
if (historyItem.is_protected) {
|
||||
noteTitle = encryption.decryptString(noteTitle);
|
||||
noteText = encryption.decryptString(noteText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user