mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix filling or targetRelations during backend2frontend sync
This commit is contained in:
parent
9230b07adb
commit
8a9875ecfa
@ -306,8 +306,8 @@ async function processSyncRows(syncRows) {
|
|||||||
sourceNote.attributes.push(attribute.attributeId);
|
sourceNote.attributes.push(attribute.attributeId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (targetNote && !targetNote.attributes.includes(attribute.attributeId)) {
|
if (targetNote && !targetNote.targetRelations.includes(attribute.attributeId)) {
|
||||||
targetNote.attributes.push(attribute.attributeId);
|
targetNote.targetRelations.push(attribute.attributeId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user