mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
renamed outstanding attribute references to labels
This commit is contained in:
@@ -115,8 +115,8 @@ async function importNotes(files, parentNoteId) {
|
||||
mime: file.meta.mime
|
||||
});
|
||||
|
||||
for (const attr of file.meta.labels) {
|
||||
await labels.createLabel(noteId, attr.name, attr.value);
|
||||
for (const label of file.meta.labels) {
|
||||
await labels.createLabel(noteId, label.name, label.value);
|
||||
}
|
||||
|
||||
if (file.children.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user