LT-32: Set lesion tool as active tool if timepoint is baseline otherwise window level when switch the tabs
This commit is contained in:
1 parent
192e3c5988
commit
f26fc22cef
4 files changed
+26
-6
No files matched your search
@@ -120,6 +120,7 @@ Template.viewer.onCreated(function() {
|
||||
log.info('autorun viewer.js. Ready: ' + subscriptionsReady);
|
||||
|
||||
if (subscriptionsReady) {
|
||||
|
||||
TrialResponseCriteria.validateAllDelayed();
|
||||
|
||||
ViewerStudies.find().observe({
|
||||
@@ -260,6 +261,12 @@ Template.viewer.onCreated(function() {
|
||||
TrialResponseCriteria.validateAll();
|
||||
}
|
||||
});
|
||||
|
||||
// Set active tool for timepoint
|
||||
dataContext.timepointIds.forEach(function(timepointId) {
|
||||
var timepoint = Timepoints.findOne({timepointId: timepointId});
|
||||
setTimepointActiveTool(timepoint);
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user