From 82add14113a324535bed29375c00ed496a587801 Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Sat, 12 Nov 2016 18:08:46 +0100 Subject: [PATCH] LT-296: Bug fix for jumping to studies that aren't loaded yet --- Packages/ohif-measurements/client/lib/jumpToRowItem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/ohif-measurements/client/lib/jumpToRowItem.js b/Packages/ohif-measurements/client/lib/jumpToRowItem.js index 2ddb26b49..d8f3cc917 100644 --- a/Packages/ohif-measurements/client/lib/jumpToRowItem.js +++ b/Packages/ohif-measurements/client/lib/jumpToRowItem.js @@ -38,7 +38,7 @@ function renderIntoViewport(viewportIndex, studyInstanceUid, seriesInstanceUid, } else { // If not, retrieve the study metadata and then find the relevant display set and // render it. - getStudyMetadata(study.studyInstanceUid, loadedStudy => { + getStudyMetadata(studyInstanceUid, loadedStudy => { loadedStudy.displaySets = createStacks(loadedStudy); ViewerStudies.insert(loadedStudy); @@ -74,7 +74,7 @@ function getDisplaySetData(instance, series, study) { */ OHIF.measurements.jumpToRowItem = (rowItem, timepoints) => { OHIF.measurements.deactivateAllToolData(); - + const activateMeasurements = OHIF.measurements.activateMeasurements; console.log('jumpToRowItem');