- Rename lesion tool as bidirectional tool
- Remove measurementType property and use toolType property in the parts that uses measurementType - Add toolType in syncMeasurementAndToolData method - Hide Convert to Non-Target option in lesionLocationDialog for CRUNEX tools
This commit is contained in:
1 parent
0b6776f777
commit
b51628cc9f
16 files changed
+60
-45
No files matched your search
+2
-2
@@ -18,7 +18,7 @@ Template.lesionTableTimepointCell.helpers({
|
||||
|
||||
var data = lesionData.timepoints[this.timepointId];
|
||||
|
||||
if (lesionData.measurementType === 'bidirectional') {
|
||||
if (lesionData.toolType === 'bidirectional') {
|
||||
if (data.shortestDiameter) {
|
||||
return data.longestDiameter + ' x ' + data.shortestDiameter;
|
||||
}
|
||||
@@ -35,7 +35,7 @@ Template.lesionTableTimepointCell.helpers({
|
||||
|
||||
isBidirectional: function() {
|
||||
var lesionData = Template.parentData(1);
|
||||
if (lesionData.measurementType === 'bidirectional') {
|
||||
if (lesionData.toolType === 'bidirectional') {
|
||||
return true;
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user