Skip to content

Commit

Permalink
One more
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Dec 6, 2024
1 parent 296088a commit 42c6789
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/hierarchy-operations/lineage-constraints.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ const getMovingViolations = (mapTypeToAllowedParents, sourceDoc, destinationDoc)
}
}

if (!mapTypeToAllowedParents) {
return 'hierarchy constraints are undefined';
}

const commonViolations = getCommonViolations(sourceDoc, destinationDoc);
const contactTypeError = getContactTypeError();
const circularHierarchyError = findCircularHierarchyErrors();
Expand Down

0 comments on commit 42c6789

Please sign in to comment.