website refactor
This commit is contained in:
@@ -30,6 +30,10 @@ export class RaceViewModel {
|
||||
return '';
|
||||
}
|
||||
|
||||
get scheduledAt(): string {
|
||||
return this.date;
|
||||
}
|
||||
|
||||
get track(): string {
|
||||
return 'track' in this.dto ? this.dto.track || '' : '';
|
||||
}
|
||||
@@ -54,4 +58,4 @@ export class RaceViewModel {
|
||||
get formattedDate(): string {
|
||||
return new Date(this.date).toLocaleDateString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user