Fix bugs preventing OHIF Viewer usage
This commit is contained in:
1 parent
1b3280c04b
commit
95ec18f279
3 files changed
+18
-11
No files matched your search
@@ -68,7 +68,8 @@ Template.viewer.onCreated(function() {
|
||||
Session.set('activeViewport', ViewerData[contentId].activeViewport || 0);
|
||||
|
||||
// Update the ViewerStudies collection with the loaded studies
|
||||
ViewerStudies = new Meteor.Collection(null);
|
||||
ViewerStudies.remove({});
|
||||
|
||||
this.data.studies.forEach(function(study) {
|
||||
study.selected = true;
|
||||
ViewerStudies.insert(study);
|
||||
|
||||
Reference in new issue
Block a user