Hanging Protocols: Fixing Lesion Tracker
This commit is contained in:
1 parent
20efd80c01
commit
f96a37e1bc
5 files changed
+62
-46
No files matched your search
+5
@@ -27,6 +27,11 @@ Template.measurementTableView.helpers({
|
||||
hasMeasurements(toolGroupId) {
|
||||
const instance = Template.instance();
|
||||
const groups = instance.data.measurementGroups.get();
|
||||
|
||||
if (!groups) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const group = _.find(groups, item => item.toolGroup.id === toolGroupId);
|
||||
return group && !!group.measurementRows.length;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user