Adding Nadir method on timepointApi

This commit is contained in:
Bruno Alves de Faria committed 2017-10-25 22:21:45 -02:00
1 parent bde625a961
commit c580f2db72
9 files changed
+48 -49

No files matched your search

@@ -468,7 +468,7 @@ const setDisplaySet = (data, displaySetInstanceUid, templateData) => {
throw new OHIFError('Study does not exist');
}
let displaySets = study.getDisplaySets();
let displaySets = study.displaySets;
if (!displaySets.length) {
displaySets = OHIF.viewerbase.sortingManager.getDisplaySets(study);
study.displaySets = displaySets;
@@ -75,7 +75,7 @@ Template.seriesQuickSwitch.helpers({
const seriesItems = [];
let displaySets = study.getDisplaySets();
let displaySets = study.displaySets;
if (!displaySets.length) {
displaySets = OHIF.viewerbase.sortingManager.getDisplaySets(study);
study.displaySets = displaySets;
@@ -5,7 +5,6 @@ import { Random } from 'meteor/random';
import { OHIF } from 'meteor/ohif:core';
// Local Modules
import { unloadHandlers } from '../../../lib/unloadHandlers';
import { hotkeyUtils } from '../../../lib/hotkeyUtils';
import { ResizeViewportManager } from '../../../lib/classes/ResizeViewportManager';
import { LayoutManager } from '../../../lib/classes/LayoutManager';
import { StudyPrefetcher } from '../../../lib/classes/StudyPrefetcher';