fix bookmark's ID

This commit is contained in:
zadam
2022-12-24 12:26:32 +01:00
parent 1d1e6ae782
commit c5fb2cccd5
7 changed files with 8 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ function validateParentChild(parentNoteId, childNoteId, branchId = null) {
};
}
if (parentNoteId !== 'lbBookmarks' && becca.getNote(parentNoteId).type === 'launcher') {
if (parentNoteId !== '_lbBookmarks' && becca.getNote(parentNoteId).type === 'launcher') {
return {
success: false,
message: 'Launcher note cannot have any children.'