mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
fixes after refactoring, base functionality works again
This commit is contained in:
@@ -211,7 +211,7 @@ $(document).ready(() => {
|
||||
if (isElectron()) {
|
||||
require('electron').ipcRenderer.on('create-day-sub-note', async function(event, parentNoteId) {
|
||||
// this might occur when day note had to be created
|
||||
if (!treeService.noteExists(parentNoteId)) {
|
||||
if (!await treeService.noteExists(parentNoteId)) {
|
||||
await treeService.reload();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user