Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE committed Nov 29, 2024
1 parent bbfc2a3 commit 187ab5a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ export default function hydrateStructuredReport(
const activeViewportId = viewportGridService.getActiveViewportId();
const cornerstoneViewport =
cornerstoneViewportService.getCornerstoneViewport(activeViewportId);
const viewRef = cornerstoneViewport.getViewReference({ referenceImageId: imageId });
const imageIds = cornerstoneViewport.getImageIds();
const viewRef = cornerstoneViewport.getViewReference({
sliceIndex: imageIds.indexOf(imageId),
});

const annotation = {
annotationUID: toolData.annotation.annotationUID,
Expand Down

0 comments on commit 187ab5a

Please sign in to comment.