mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
handling of cloned notes moved to backend which should fix some annoying behaviors
This commit is contained in:
@@ -135,9 +135,8 @@ $(function(){
|
||||
source: notes,
|
||||
activate: function(event, data){
|
||||
const node = data.node.data;
|
||||
const noteId = node.is_clone ? node.note_clone_id : node.note_id;
|
||||
|
||||
saveNoteIfChanged(() => loadNote(noteId));
|
||||
saveNoteIfChanged(() => loadNote(node.note_id));
|
||||
},
|
||||
expand: function(event, data) {
|
||||
setExpanded(data.node.key, true);
|
||||
|
||||
Reference in New Issue
Block a user