Fix a tiny bug by checking study in prior
This commit is contained in:
parent
9544a24ed8
commit
f9f4a14bae
@ -322,6 +322,10 @@ Template.viewportOverlay.helpers({
|
||||
|
||||
// Get study data
|
||||
var study = cornerstoneTools.metaData.get('study', this.imageId);
|
||||
if (!study) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (study.studyDate === viewportStudies.fetch()[0].studyDate) {
|
||||
return 'Prior';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user