Switched studies in Session to ViewerStudies and WorklistStudies Collections. Fixes studyDate selector issues

This commit is contained in:
Erik Ziegler committed 2015-11-17 18:17:51 +01:00
1 parent aa7982b11b
commit 1511642000
17 files changed
+82 -78

No files matched your search

@@ -1,12 +1,12 @@
Template.thumbnails.helpers({
thumbnails: function() {
var stacks = createStacks(this.study);
var studyIndex = this.studyIndex;
var study = this;
var stacks = createStacks(study);
var array = [];
stacks.forEach(function(stack, index) {
array.push({
thumbnailIndex: index * (studyIndex + 1),
thumbnailIndex: index,
stack: stack
});
});