This commit is contained in:
2026-04-21 16:08:33 +03:00
parent 25b9bd183d
commit fff2e909f8
2 changed files with 3 additions and 1 deletions

1
app.py
View File

@@ -607,6 +607,7 @@ def session_workspace(
home_formations = get_match_formations(match_id, home_team_id) home_formations = get_match_formations(match_id, home_team_id)
away_formations = get_match_formations(match_id, away_team_id) away_formations = get_match_formations(match_id, away_team_id)
return templates.TemplateResponse( return templates.TemplateResponse(
name="match_workspace.html", name="match_workspace.html",
request=request, request=request,

View File

@@ -58,6 +58,7 @@ def _player_to_editor_dict(p: dict) -> dict:
"first_name": p.get("first_name", "") or "", "first_name": p.get("first_name", "") or "",
"number": str(p.get("number", "") or ""), "number": str(p.get("number", "") or ""),
"position": p.get("position", "") or "", "position": p.get("position", "") or "",
"position_full": p.get("position_full", "") or p.get("position", "") or "",
"is_captain": bool(p.get("is_captain")), "is_captain": bool(p.get("is_captain")),
} }