mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-09 02:41:39 +08: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);
|
||||
}
|
||||
|
||||
if (targetNote && !targetNote.attributes.includes(attribute.attributeId)) {
|
||||
targetNote.attributes.push(attribute.attributeId);
|
||||
if (targetNote && !targetNote.targetRelations.includes(attribute.attributeId)) {
|
||||
targetNote.targetRelations.push(attribute.attributeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user