Browse Source

Map the other SSE

master
Dan 2 years ago
parent
commit
c8897cc43a
  1. 6
      packages/bridge-ui/src/app/components/season-standings/season-standings.component.ts

6
packages/bridge-ui/src/app/components/season-standings/season-standings.component.ts

@ -16,6 +16,8 @@ import { RacesService } from '../../services/races.service';
import { SeasonStanding } from '../../models/season-standing.model';
import { ServerSideEventsService } from '../../services/server-side-events.service';
import { plainToClass } from 'class-transformer';
@Component({
selector: 'app-season-standings',
standalone: true,
@ -93,6 +95,8 @@ export class SeasonStandingsComponent {
sorted.push(result)
}
this.sortStandings(sorted);
let _entries = plainToClass(SeasonStanding, sorted, { excludeExtraneousValues: true, enableCircularCheck: true });
this.sortStandings(_entries);
}
}

Loading…
Cancel
Save