LT-117: Remove the user from reviewers of user is logout

This commit is contained in:
Aysel Afsar committed 2016-04-04 10:35:52 -04:00
1 parent 2da841bab0
commit 8ee2eaf644
4 files changed
+15 -12

No files matched your search

@@ -238,6 +238,11 @@ Template.viewer.onCreated(function() {
// Clear the toolData for this timepoint
var imageId = data.timepoints[timepointId].imageId;
removeToolDataWithMeasurementId(imageId, toolType, measurementId);
// Set reviewer for this timepoint
if (data.timepoints[timepointId].studyInstanceUid) {
Meteor.call('setReviewer',data.timepoints[timepointId].studyInstanceUid);
}
});
// Sync database data with toolData for all the measurements