diff --git a/src/public/app/widgets/bulk_actions/note/delete_note.js b/src/public/app/widgets/bulk_actions/note/delete_note.js
index 77fe41995..585a32749 100644
--- a/src/public/app/widgets/bulk_actions/note/delete_note.js
+++ b/src/public/app/widgets/bulk_actions/note/delete_note.js
@@ -8,8 +8,6 @@ const TPL = `
Delete matched notes
-
-
+
+
|
`;
diff --git a/src/services/bulk_actions.js b/src/services/bulk_actions.js
index ada23c748..72a0f8d1e 100644
--- a/src/services/bulk_actions.js
+++ b/src/services/bulk_actions.js
@@ -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();
}