Added View option to explicitly load unassociated studies in the lesion tracker (LT-183)

This commit is contained in:
Erik Ziegler committed 2016-03-08 13:11:43 +01:00
1 parent 52286136ab
commit f53bfcc05c
5 files changed
+77 -8

No files matched your search

@@ -21,6 +21,12 @@ Template.studyDateList.helpers({
}
}).fetch();
// If no Study / Timepoint associated studies exist, just
// return the list of loaded studies
if (!relatedStudies.length) {
return ViewerStudies.find();
}
// Modify the array of related studies so the default option is the currently selected study
relatedStudies.forEach(function(study, index) {
// If the studyInstanceUid matches that of the current study in the browser,