mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	renamed outstanding attribute references to labels
This commit is contained in:
		| @@ -104,8 +104,8 @@ async function createNote(parentNoteId, title, content = "", extraOptions = {}) | ||||
|     const {noteId} = await createNewNote(parentNoteId, note); | ||||
|  | ||||
|     if (extraOptions.labels) { | ||||
|         for (const attrName in extraOptions.labels) { | ||||
|             await labels.createLabel(noteId, attrName, extraOptions.labels[attrName]); | ||||
|         for (const labelName in extraOptions.labels) { | ||||
|             await labels.createLabel(noteId, labelName, extraOptions.labels[labelName]); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user