Fix duplicate helper bugs in Lesion Tracker

This commit is contained in:
Erik Ziegler committed 2016-08-05 10:09:12 +02:00
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');