fix filling or targetRelations during backend2frontend sync

This commit is contained in:
zadam 2020-03-17 18:38:49 +01:00
parent 9230b07adb
commit 8a9875ecfa

View File

@ -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);
} }
} }
} }