mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	generate document now creates also labels and relations
This commit is contained in:
		| @@ -117,7 +117,7 @@ async function createNewNote(parentNoteId, noteData) { | ||||
|         isExpanded: !!noteData.isExpanded | ||||
|     }).save(); | ||||
|  | ||||
|     for (const attr of await parentNote.getAttributes()) { | ||||
|     for (const attr of await parentNote.getOwnedAttributes()) { | ||||
|         if (attr.name.startsWith("child:")) { | ||||
|             await new Attribute({ | ||||
|                noteId: note.noteId, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user