Fixes to make Viewer load

This commit is contained in:
Erik Ziegler authored and Emanuel F. Oliveira committed 2017-01-29 22:11:17 -02:00
1 parent 7083948bea
commit 3e1127fc78
11 files changed
+35 -17

No files matched your search

@@ -1,4 +1,5 @@
import { OHIF } from 'meteor/ohif:core';
import { Viewerbase } from 'meteor/ohif:viewerbase';
OHIF.viewer = OHIF.viewer || {};
OHIF.viewer.defaultTool = 'wwwc';
@@ -52,7 +53,7 @@ Template.viewer.onCreated(() => {
ViewerData[contentId].studyInstanceUids = [];
instance.data.studies.forEach(study => {
study.selected = true;
study.displaySets = createStacks(study);
study.displaySets = Viewerbase.createStacks(study);
ViewerStudies.insert(study);
ViewerData[contentId].studyInstanceUids.push(study.studyInstanceUid);
});