mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +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