Fix sur la pagination et fix sur le tri par date

This commit is contained in:
Sébastien André
2019-11-28 14:53:35 +01:00
parent 5522a534b2
commit 54f5398af1
16 changed files with 113 additions and 72 deletions

View File

@@ -1,7 +1,7 @@
import { GearResp } from "./gear";
import { DropZoneResp } from "./dropzone";
import { AircraftResp } from "./aircraft";
import { JumpTypeResp } from "./jumpType";
import { GearResp } from './gear';
import { DropZoneResp } from './dropzone';
import { AircraftResp } from './aircraft';
import { JumpTypeResp } from './jumpType';
export class JumpReq {
constructor(data: any) {
@@ -23,6 +23,7 @@ export class JumpReq {
export class JumpResp {
constructor(data: any) {
Object.assign(this, data);
this.jumpDate = new Date(data.jumpDate);
}
public id: number;