idac: added TA eval ranks to the frontend

This commit is contained in:
Dniel97
2023-11-21 23:54:02 +01:00
parent 6ea8cca1a2
commit 989cbdf748
3 changed files with 27 additions and 5 deletions

View File

@@ -24,6 +24,7 @@ class RankingData:
rank: int,
name: str,
record: int,
eval_id: int,
store: str,
style_car_id: int,
update_date: str,
@@ -32,6 +33,7 @@ class RankingData:
self.name: str = name
self.record: str = record
self.store: str = store
self.eval_id: int = eval_id
self.style_car_id: int = style_car_id
self.update_date: str = update_date
@@ -245,6 +247,7 @@ class IDACRankingFrontend(FE_Base):
name=profile["username"],
record=rank["goal_time"],
store=arcade["name"],
eval_id=rank["eval_id"],
style_car_id=rank["style_car_id"],
update_date=str(rank["play_dt"]),
)