fixes and right pane layout changes

This commit is contained in:
zadam
2020-02-25 16:31:44 +01:00
parent d821ea4095
commit 7270bf287d
7 changed files with 14 additions and 21 deletions
@@ -105,8 +105,8 @@ class TreeCache {
const targetNote = this.notes[attributeRow.value];
if (targetNote) {
if (!note.targetRelations.includes(attributeId)) {
note.targetRelations.push(attributeId);
if (!targetNote.targetRelations.includes(attributeId)) {
targetNote.targetRelations.push(attributeId);
}
}
}
+1 -1
View File
@@ -288,7 +288,7 @@ async function processSyncRows(syncRows) {
}
if (targetNote) {
targetNote.targetRelations = targetNote.targetRelations.filter(attributeId => attributeId !== attribute.value);
targetNote.targetRelations = targetNote.targetRelations.filter(attributeId => attributeId !== attribute.attributeId);
}
}
}