Allowing loading prior timepoints without the need of baseline data

This commit is contained in:
Bruno Alves de Faria committed 2017-09-18 15:45:55 -03:00
1 parent 84bcffe860
commit 823a422c26
10 files changed
+67 -35

No files matched your search

@@ -111,8 +111,8 @@ Template.measurementTableTimepointCell.events({
});
// Sync the new measurement data with cornerstone tools
const baseline = timepointApi.baseline();
measurementApi.sortMeasurements(baseline.timepointId);
const previous = timepointApi.priorOrBaseline();
measurementApi.sortMeasurements(previous.timepointId);
// Repaint the images on all viewports without the removed measurements
_.each($('.imageViewerViewport'), element => cornerstone.updateImage(element));