Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE authored Nov 29, 2024
1 parent 187ab5a commit ea929c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { utils } from '@ohif/core';
import { config } from '@cornerstonejs/tools/annotation';

const Length = {
toAnnotation: measurement => { },
toAnnotation: measurement => {},

/**
* Maps cornerstone annotation event data to measurement service format.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,13 @@ export default function PanelStudyBrowserTracking({
const { displaySetsAdded, options } = data;
displaySetsAdded.forEach(async dSet => {
const displaySetInstanceUID = dSet.displaySetInstanceUID;
const isExcludedFromThumbnailBrowser = dSet.excludeFromThumbnailBrowser;
const newImageSrcEntry = {};
const displaySet = displaySetService.getDisplaySetByUID(displaySetInstanceUID);
if (displaySet?.unsupported) {
return;
}

if (options.madeInClient && !isExcludedFromThumbnailBrowser) {
if (options.madeInClient && !dSet.excludeFromThumbnailBrowser) {
setJumpToDisplaySet(displaySetInstanceUID);
}

Expand Down

0 comments on commit ea929c8

Please sign in to comment.