fix(measurements): Add missing toolType for temp measurements

This commit is contained in:
Erik Ziegler 2018-05-29 09:27:46 +02:00
parent 0434853b72
commit c4c20abb23

View File

@ -21,7 +21,8 @@ export default function ({ instance, eventData, tool }) {
const imageAttributes = getImageAttributes(eventData.element);
const measurement = _.extend({}, measurementData, imageAttributes, {
measurementNumber: measurementData.measurementNumber,
userId: OHIF.user.getUserId()
userId: OHIF.user.getUserId(),
toolType
});
// Get the related timepoint by the measurement number and use its location if defined