mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
encrypted notes are distinguished in the tree by shaded icons
This commit is contained in:
@@ -122,11 +122,12 @@ function createNote(node, parentKey, target, encryption) {
|
||||
}),
|
||||
contentType: "application/json",
|
||||
success: function(result) {
|
||||
let newNode = {
|
||||
const newNode = {
|
||||
title: newNoteName,
|
||||
key: result.note_id,
|
||||
note_id: result.note_id,
|
||||
encryption: encryption
|
||||
encryption: encryption,
|
||||
extraClasses: encryption ? "encrypted" : ""
|
||||
};
|
||||
|
||||
globalAllNoteIds.push(result.note_id);
|
||||
|
||||
Reference in New Issue
Block a user