mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
attempt to mitigate problem with creating day subnotes
This commit is contained in:
parent
abdad1c3ae
commit
d86f655658
@ -207,8 +207,10 @@ if (isElectron()) {
|
|||||||
|
|
||||||
await noteTree.activateNode(parentNoteId);
|
await noteTree.activateNode(parentNoteId);
|
||||||
|
|
||||||
const node = noteTree.getCurrentNode();
|
setTimeout(() => {
|
||||||
|
const node = noteTree.getCurrentNode();
|
||||||
|
|
||||||
await noteTree.createNote(node, node.data.noteId, 'into', node.data.isProtected);
|
noteTree.createNote(node, node.data.noteId, 'into', node.data.isProtected);
|
||||||
|
}, 500);
|
||||||
});
|
});
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user