LT-55: Fixing the measurement type text

This commit is contained in:
Bruno Alves de Faria 2017-01-26 12:42:25 -02:00
parent d2dece45f6
commit 0b91972bee

View File

@ -59,8 +59,11 @@ OHIF.measurements.exportPdf = (measurementApi, timepointApi) => {
info += ' mm';
}
let type = measurementApi.toolsGroupsMap[measurement.toolType];
type = type === 'targets' ? 'Target' : 'Non-target';
report.printMeasurement({
type: measurement.toolType,
type,
number: measurement.measurementNumber,
location: measurement.location || '',
info,