From 81b3bb412604f6d372389a02c09b0e23cb924b7a Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Sun, 6 Nov 2016 16:28:38 +0100 Subject: [PATCH] LT-275: Fix bug with loading measurement flow --- Packages/ohif-measurements/client/lib/toggleLabelButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/ohif-measurements/client/lib/toggleLabelButton.js b/Packages/ohif-measurements/client/lib/toggleLabelButton.js index a6c1bda18..506f07b1b 100644 --- a/Packages/ohif-measurements/client/lib/toggleLabelButton.js +++ b/Packages/ohif-measurements/client/lib/toggleLabelButton.js @@ -22,7 +22,7 @@ OHIF.measurements.toggleLabelButton = options => { const tool = toolMap[options.toolData.toolType]; const toolCollection = options.measurementApi[tool]; - const measurement = toolCollection.findOne(options.toolData.id); + const measurement = toolCollection.findOne(options.toolData._id); const data = { measurement,