Fix broken group-level conformance checks (LT-187)
This commit is contained in:
parent
85b972e2e8
commit
8a0b9e6ba5
@ -280,10 +280,10 @@ function validateGroups() {
|
|||||||
// Collection.
|
// Collection.
|
||||||
|
|
||||||
var timepointTypes = ['baseline', 'followup'];
|
var timepointTypes = ['baseline', 'followup'];
|
||||||
timepointTypes.forEach(function(timepoint) {
|
timepointTypes.forEach(function(timepointType) {
|
||||||
// Retrieve the current constraints which apply to the specific Timepoint type
|
// Retrieve the current constraints which apply to the specific Timepoint type
|
||||||
// (e.g. baseline, followup) that this Measurement is being edited on.
|
// (e.g. baseline, followup) that this Measurement is being edited on.
|
||||||
var timepointConstraints = currentConstraints[timepoint.timepointType];
|
var timepointConstraints = currentConstraints[timepointType];
|
||||||
if (!timepointConstraints) {
|
if (!timepointConstraints) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user