mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
tree fixes
This commit is contained in:
@@ -118,7 +118,9 @@ $("body").on("click", "a.external", function () {
|
||||
if (utils.isElectron()) {
|
||||
require('electron').ipcRenderer.on('create-day-sub-note', async function(event) {
|
||||
const todayNote = await dateNoteService.getTodayNote();
|
||||
const node = await treeService.expandToNote(todayNote.noteId);
|
||||
const notePath = await treeService.getSomeNotePath(todayNote);
|
||||
|
||||
const node = await treeService.expandToNote(notePath);
|
||||
|
||||
await noteDetailService.openEmptyTab(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user