LT-288: Fixing wrong conditional for prior timepoint
This commit is contained in:
parent
396f83b449
commit
a6ad256410
@ -55,7 +55,7 @@ class TimepointApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const prior = this.prior();
|
const prior = this.prior();
|
||||||
if (current && prior._id !== current._id) {
|
if (current && prior && prior._id !== current._id) {
|
||||||
timepoints.push(prior);
|
timepoints.push(prior);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user