Switched studies in Session to ViewerStudies and WorklistStudies Collections. Fixes studyDate selector issues
This commit is contained in:
1 parent
aa7982b11b
commit
1511642000
17 files changed
+82
-78
No files matched your search
@@ -88,7 +88,12 @@ Template.viewer.onCreated(function() {
|
||||
|
||||
Session.set('activeViewport', ViewerData[contentId].activeViewport || 0);
|
||||
|
||||
Session.set("studies", this.data.studies);
|
||||
// Update the ViewerStudies collection with the loaded studies
|
||||
ViewerStudies = new Meteor.Collection(null);
|
||||
this.data.studies.forEach(function(study) {
|
||||
study.selected = true;
|
||||
ViewerStudies.insert(study);
|
||||
});
|
||||
|
||||
OHIF.viewer.updateImageSynchronizer = new cornerstoneTools.Synchronizer("CornerstoneNewImage", cornerstoneTools.updateImageSynchronizer);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user