LT-290 Disable Lesion Tracker tool buttons if the opened study is not associated
- Fix the bug with temp lesion when the study is not associated
This commit is contained in:
1 parent
7fa242d0aa
commit
5cbf08ea4f
5 files changed
+54
-9
No files matched your search
@@ -81,6 +81,14 @@ Template.viewer.onCreated(() => {
|
||||
if (prior) {
|
||||
instance.data.measurementApi.priorTimepointId = prior.timepointId;
|
||||
}
|
||||
|
||||
if (instance.data.currentTimepointId) {
|
||||
// Enable Lesion Tracker Tools if the opened study is associated
|
||||
OHIF.lesiontracker.toggleLesionTrackerToolsButtons(true);
|
||||
} else {
|
||||
// Disable Lesion Tracker Tools if the opened study is not associated
|
||||
OHIF.lesiontracker.toggleLesionTrackerToolsButtons(false);
|
||||
}
|
||||
});
|
||||
|
||||
Template.viewer.helpers({
|
||||
|
||||
Reference in new issue
Block a user