#126, relation list in note detail and fixes in saving

This commit is contained in:
azivner
2018-07-28 17:59:55 +02:00
parent 6a50afd952
commit 9b3f3fde05
8 changed files with 75 additions and 25 deletions

View File

@@ -18,7 +18,7 @@ async function updateNoteRelations(req) {
for (const relation of relations) {
let relationEntity;
if (relation.labelId) {
if (relation.relationId) {
relationEntity = await repository.getRelation(relation.relationId);
}
else {