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

This commit is contained in:
Erik Ziegler 2016-11-12 18:08:46 +01:00
parent 80337f271e
commit 82add14113

View File

@ -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);