FlightsTable component props <=> parameter
This commit is contained in:
@ -11,6 +11,7 @@ export class CFlight implements IKey
|
||||
public readonly BestTaskType: string;
|
||||
public readonly BestTaskPoints: string;
|
||||
public readonly FlightDuration: CHour;
|
||||
public readonly FlightDurationDispl: string; // need for sorting
|
||||
public readonly FKSeason: string;
|
||||
|
||||
constructor(inData: any)
|
||||
@ -24,6 +25,7 @@ export class CFlight implements IKey
|
||||
this.BestTaskPoints = inData.BestTaskPoints;
|
||||
this.FKSeason = inData.FKSeason;
|
||||
this.FlightDuration = new CHour(+inData.FlightDuration);
|
||||
this.FlightDurationDispl = this.FlightDuration.Print();
|
||||
}
|
||||
|
||||
public get key()
|
||||
|
||||
Reference in New Issue
Block a user