Bug fix for studyThumbnails helper that sometimes runs with no data in Lesion Tracker (OHIF-36)
This commit is contained in:
1 parent
fe32c40832
commit
ba76a89e13
2 files changed
+6
-2
No files matched your search
@@ -2,6 +2,10 @@
|
||||
* A global Blaze UI helper to get the thumbnails for the given study
|
||||
*/
|
||||
Template.registerHelper('studyThumbnails', study => {
|
||||
if (!study) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Find the study's stacks
|
||||
const stacks = study.displaySets;
|
||||
|
||||
|
||||
Reference in new issue
Block a user