LT-296: Bug fix for jumping to studies that aren't loaded yet

This commit is contained in:
Erik Ziegler committed 2016-11-15 08:29:46 +01:00
1 parent 80337f271e
commit 82add14113
1 file changed
+1 -1
@@ -38,7 +38,7 @@ function renderIntoViewport(viewportIndex, studyInstanceUid, seriesInstanceUid,
} else { } else {
// If not, retrieve the study metadata and then find the relevant display set and // If not, retrieve the study metadata and then find the relevant display set and
// render it. // render it.
getStudyMetadata(study.studyInstanceUid, loadedStudy => { getStudyMetadata(studyInstanceUid, loadedStudy => {
loadedStudy.displaySets = createStacks(loadedStudy); loadedStudy.displaySets = createStacks(loadedStudy);
ViewerStudies.insert(loadedStudy); ViewerStudies.insert(loadedStudy);