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