Fixing broken references in LesionTracker related to measurement deletions and lesion table row selection + Fixing bug in measurement handlers for unassociated studies.

This commit is contained in:
Emanuel F. Oliveira committed 2017-01-29 22:11:17 -02:00
1 parent 3def03e7d0
commit a06da4e6e1
6 files changed
+17 -102

No files matched your search

@@ -44,6 +44,12 @@ class MeasurementApi {
studyInstanceUids: measurement.studyInstanceUid
});
// Preventing errors thrown when non-associated (standalone) study is opened...
// @TODO: Make sure this logic is correct.
if (!timepoint) {
return;
}
const emptyItem = groupCollection.findOne({
toolId: { $eq: null },
timepointId: timepoint.timepointId