mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 00:35:50 +01:00
always keep all the ancestors in the tree WIP
This commit is contained in:
@@ -110,7 +110,7 @@ export default class SearchBoxWidget extends BasicWidget {
|
||||
let activeNote = appContext.tabManager.getActiveTabNote();
|
||||
|
||||
if (activeNote.type === 'search') {
|
||||
activeNote = (await activeNote.getParentNotes())[0];
|
||||
activeNote = activeNote.getParentNotes()[0];
|
||||
}
|
||||
|
||||
await noteCreateService.createNote(activeNote.noteId, {
|
||||
|
||||
Reference in New Issue
Block a user