From 0ba77cd0b1fda15b2908f67a74962b6e6100a901 Mon Sep 17 00:00:00 2001 From: Bruno Alves de Faria Date: Mon, 24 Oct 2016 12:38:32 +0100 Subject: [PATCH] LT-275: Fixing invisible label issue after selection --- .../components/measureFlow/selectTree/selectTree.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Packages/ohif-measurements/client/components/measureFlow/selectTree/selectTree.js b/Packages/ohif-measurements/client/components/measureFlow/selectTree/selectTree.js index c24b328da..d2a8d6656 100644 --- a/Packages/ohif-measurements/client/components/measureFlow/selectTree/selectTree.js +++ b/Packages/ohif-measurements/client/components/measureFlow/selectTree/selectTree.js @@ -235,14 +235,14 @@ Template.selectTree.events({ storedData[itemKey] = 1; } - // Set the selected leaf value in the root component - const itemData = $target.data('component').templateInstance.data.itemData; - rootComponent.value(itemData); - // Updata the stored data with the new count OHIF.user.setData(storageKey, storedData); } + // Set the selected leaf value in the root component + const itemData = $target.data('component').templateInstance.data.itemData; + rootComponent.value(itemData); + // Mark the component as selected instance.setSelected(true); } else {