Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Sep 13, 2023
1 parent e15848c commit b2d7488
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/cornerstone-dicom-seg/src/commandsModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const commandsModule = ({
loadFn: async () => {
// Todo: handle adding more than one segmentation
const viewport = getTargetViewport({ viewportId, viewportGridService });
const displaySetInstanceUID = viewport.displaySetInstanceUIDs[0];

const segmentation = segmentations[0];
const segmentationId = segmentation.id;
Expand Down

0 comments on commit b2d7488

Please sign in to comment.