small bulk action fixes

This commit is contained in:
zadam
2022-06-17 23:12:52 +02:00
parent 5ca7e39852
commit aee350b07b
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ const ACTION_HANDLERS = {
}
},
updateRelationTarget: (action, note) => {
for (const relation of note.getOwnedLabels(action.relationName)) {
for (const relation of note.getOwnedRelations(action.relationName)) {
relation.value = action.targetNoteId;
relation.save();
}