Browse Source

Linting.

master
mike12345567 5 years ago
parent
commit
47fb67ebfc
  1. 5
      packages/server/src/db/linkedRows/LinkController.js

5
packages/server/src/db/linkedRows/LinkController.js

@ -218,7 +218,10 @@ class LinkController {
rowId: linkId,
includeDocs: IncludeDocs.EXCLUDE,
})
).filter(link => link.id !== row._id && link.fieldName === linkedSchema.name)
).filter(
link =>
link.id !== row._id && link.fieldName === linkedSchema.name
)
// The 1 side of 1:N is already related to something else
// You must remove the existing relationship

Loading…
Cancel
Save