LT-296: Bug fix for jumping to studies that aren't loaded yet
This commit is contained in:
parent
80337f271e
commit
82add14113
@ -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);
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ function getDisplaySetData(instance, series, study) {
|
|||||||
*/
|
*/
|
||||||
OHIF.measurements.jumpToRowItem = (rowItem, timepoints) => {
|
OHIF.measurements.jumpToRowItem = (rowItem, timepoints) => {
|
||||||
OHIF.measurements.deactivateAllToolData();
|
OHIF.measurements.deactivateAllToolData();
|
||||||
|
|
||||||
const activateMeasurements = OHIF.measurements.activateMeasurements;
|
const activateMeasurements = OHIF.measurements.activateMeasurements;
|
||||||
console.log('jumpToRowItem');
|
console.log('jumpToRowItem');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user