mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
add #shareRoot label to define an "index" note, closes #2567
This commit is contained in:
@@ -40,7 +40,7 @@ async function createNote(parentNotePath, options = {}) {
|
||||
C-->D;`
|
||||
}
|
||||
|
||||
const {note, branch} = await server.post(`notes/${parentNoteId}/children?target=${options.target}&targetBranchId=${options.targetBranchId}`, {
|
||||
const {note, branch} = await server.post(`notes/${parentNoteId}/children?target=${options.target}&targetBranchId=${options.targetBranchId || ""}`, {
|
||||
title: newNoteName,
|
||||
content: options.content || "",
|
||||
isProtected: options.isProtected,
|
||||
|
||||
Reference in New Issue
Block a user