mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
fix filling or targetRelations during backend2frontend sync
This commit is contained in:
@@ -306,8 +306,8 @@ async function processSyncRows(syncRows) {
|
||||
sourceNote.attributes.push(attribute.attributeId);
|
||||
}
|
||||
|
||||
if (targetNote && !targetNote.attributes.includes(attribute.attributeId)) {
|
||||
targetNote.attributes.push(attribute.attributeId);
|
||||
if (targetNote && !targetNote.targetRelations.includes(attribute.attributeId)) {
|
||||
targetNote.targetRelations.push(attribute.attributeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user