LT-305: Lesions that are New after baseline are displayed properly in the measurement table

This commit is contained in:
Erik Ziegler committed 2016-11-15 08:25:09 +01:00
1 parent 987be26047
commit 7d9efc2b71
3 files changed
+85 -74

No files matched your search

@@ -1,3 +1,6 @@
import { Template } from 'meteor/templating';
import { ReactiveVar } from 'meteor/reactive-var';
Template.measurementTable.onCreated(() => {
const instance = Template.instance();
@@ -45,10 +48,8 @@ Template.measurementTable.onRendered(() => {
});
Template.measurementTable.onRendered(() => {
const instance = Template.instance();
// Find the first measurement by Lesion Number
let firstLesion = undefined; // = instance.data.measurementApi.firstLesion();
let firstLesion; // = instance.data.measurementApi.firstLesion();
// Create an object to store the ContentId inside
const templateData = {