mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
bookmarks use cloning
This commit is contained in:
@@ -58,7 +58,7 @@ function validateParentChild(parentNoteId, childNoteId, branchId = null) {
|
||||
};
|
||||
}
|
||||
|
||||
if (becca.getNote(parentNoteId).type === 'launcher') {
|
||||
if (parentNoteId !== 'lb_bookmarks' && becca.getNote(parentNoteId).type === 'launcher') {
|
||||
return {
|
||||
success: false,
|
||||
message: 'Launcher note cannot have any children.'
|
||||
|
||||
Reference in New Issue
Block a user