mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
fix bookmark's ID
This commit is contained in:
@@ -100,7 +100,7 @@ function getAndValidateParent(params) {
|
||||
throw new ValidationError(`Parent note "${params.parentNoteId}" not found.`);
|
||||
}
|
||||
|
||||
if (parentNote.type === 'launcher' && parentNote.noteId !== 'lbBookmarks') {
|
||||
if (parentNote.type === 'launcher' && parentNote.noteId !== '_lbBookmarks') {
|
||||
throw new ValidationError(`Creating child notes into launcher notes is not allowed.`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user