Compare commits

...

2 Commits

Author SHA1 Message Date
ba26e7c9e6
feat: bigger "Events" 2025-05-21 15:18:01 +02:00
64d6edd9f5
feat: order players alphabetically 2025-05-21 15:17:34 +02:00
3 changed files with 18 additions and 17 deletions

View File

@ -188,6 +188,7 @@ async def list_players(
.join(PlayerTeamLink)
.join(Team)
.where(Team.id == team_id, P.disabled == False)
.order_by(P.display_name)
).all()
if players:
return [

View File

@ -722,6 +722,7 @@ button {
}
.events {
font-size: large;
padding: 20px;
ul > li {
padding: 0;

View File

@ -87,8 +87,7 @@ const TeamPanel = () => {
justifyContent: "center",
}}
>
{players &&
players.map((p) => (
{players.map((p) => (
<button
className={
"team-player " +