Skip to content

Commit

Permalink
fix(contour): remove contour was using wrong uid (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Apr 24, 2023
1 parent 693b331 commit a6892a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function removeContourFromElement(
// remove actors whose id has the same prefix as the segmentationRepresentationUID
const actorUIDsToRemove = actorEntries
.map(({ uid }) =>
uid.startsWith(segmentationRepresentationUID) ? uid : undefined
uid.includes(segmentationRepresentationUID) ? uid : undefined
)
.filter(Boolean);

Expand Down

0 comments on commit a6892a5

Please sign in to comment.