This commit is contained in:
Sébastien André
2020-08-31 16:06:59 +02:00
parent 9eb5195926
commit cd469f12ff

View File

@@ -28,7 +28,10 @@ export class SimpleSummary {
constructor(data: any) {
this.totalJumps = data.totalJumps;
this.totalCutaways = data.totalCutaways;
this.lastJump = new JumpResp(data.lastJump);
if (data.lastJump !== null) {
this.lastJump = new JumpResp(data.lastJump);
}
}
public totalJumps: number;