fix(measurements): Add missing toolType for temp measurements

This commit is contained in:
Erik Ziegler committed 2018-10-01 14:15:29 +02:00
1 parent 0434853b72
commit c4c20abb23
1 file changed
+2 -1
@@ -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