From ea929c83b70f46c3d46de59b01bfc64d1f1e4c8a Mon Sep 17 00:00:00 2001 From: Ibrahim <93064150+IbrahimCSAE@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:23:52 -0500 Subject: [PATCH] fixes --- .../cornerstone/src/utils/measurementServiceMappings/Length.ts | 2 +- .../PanelStudyBrowserTracking/PanelStudyBrowserTracking.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/cornerstone/src/utils/measurementServiceMappings/Length.ts b/extensions/cornerstone/src/utils/measurementServiceMappings/Length.ts index 24724e129a..0b0c1c6e89 100644 --- a/extensions/cornerstone/src/utils/measurementServiceMappings/Length.ts +++ b/extensions/cornerstone/src/utils/measurementServiceMappings/Length.ts @@ -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. diff --git a/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.tsx b/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.tsx index d48d7891ba..bd32152bfe 100644 --- a/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.tsx +++ b/extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTracking.tsx @@ -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); }