Fix duplicate helper bugs in Lesion Tracker
This commit is contained in:
1 parent
9bf96f24d7
commit
f963fec586
19 files changed
+124
-181
No files matched your search
@@ -9,6 +9,10 @@ Template.baseComponent.constructView = function(contentFunc, elseFunc) {
|
||||
// Get the data passed to the template
|
||||
const data = Template.currentData();
|
||||
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Check the base template. If it's not informed set as the custom base
|
||||
data.base || (data.base = 'baseCustom');
|
||||
|
||||
|
||||
Reference in new issue
Block a user