Changed naming in study and series metadata for consistency
This commit is contained in:
1 parent
b28e84076f
commit
4a482c1d12
8 files changed
+32
-22
No files matched your search
@@ -264,8 +264,6 @@ function loadSeriesIntoViewport(data) {
|
||||
// This is used to update the value of the "active viewport", when the user interacts
|
||||
// with a new viewport element
|
||||
function sendActivationTrigger(e, eventData) {
|
||||
log.info('imageViewerViewport sendActivationTrigger');
|
||||
|
||||
// Check if the current active viewport in the Meteor Session
|
||||
// Is the same as the viewport in which the activation event was fired.
|
||||
// If it was, no changes are necessary, so stop here.
|
||||
@@ -275,6 +273,8 @@ function loadSeriesIntoViewport(data) {
|
||||
return;
|
||||
}
|
||||
|
||||
log.info('imageViewerViewport sendActivationTrigger');
|
||||
|
||||
// Otherwise, trigger an 'ActivateViewport' event to be handled by the Template event
|
||||
// handler
|
||||
eventData.viewportIndex = viewportIndex;
|
||||
|
||||
@@ -172,7 +172,7 @@ Template.viewportOverlay.helpers({
|
||||
|
||||
// Get study data
|
||||
var study = cornerstoneTools.metaData.get('study', this.imageId);
|
||||
if (study.instanceUid === viewportStudies.fetch()[0].studyInstanceUid) {
|
||||
if (study.studyInstanceUid === viewportStudies.fetch()[0].studyInstanceUid) {
|
||||
return 'Prior';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user