attempt to mitigate problem with creating day subnotes

This commit is contained in:
azivner 2018-02-15 23:04:50 -05:00
parent abdad1c3ae
commit d86f655658

View File

@ -207,8 +207,10 @@ if (isElectron()) {
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);
});
}