LT-275: Fixing invisible label issue after selection
This commit is contained in:
parent
31bce34dd6
commit
0ba77cd0b1
@ -235,14 +235,14 @@ Template.selectTree.events({
|
|||||||
storedData[itemKey] = 1;
|
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
|
// Updata the stored data with the new count
|
||||||
OHIF.user.setData(storageKey, storedData);
|
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
|
// Mark the component as selected
|
||||||
instance.setSelected(true);
|
instance.setSelected(true);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user