fix
All checks were successful
CI/CD Pipeline / Build and Push App Docker Image (push) Successful in 3m0s
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 8s
CI/CD Pipeline / Deploy to Kubernetes (push) Successful in 45s

This commit is contained in:
yohlo
2026-03-01 21:46:59 -06:00
parent 8f84dddc64
commit c138442530
2 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ const GroupMatchCard: React.FC<GroupMatchCardProps> = ({ match, showControls })
<Stack gap="sm"> <Stack gap="sm">
<Group justify="space-between" align="center" wrap="nowrap"> <Group justify="space-between" align="center" wrap="nowrap">
<Group gap="sm" style={{ flex: 1, minWidth: 0 }}> <Group gap="sm" style={{ flex: 1, minWidth: 0 }}>
<TeamAvatar team={match.home} size={32} radius="sm" isRegional={match.tournament.regional} /> {match.home && <TeamAvatar team={match.home} size={32} radius="sm" isRegional={match.tournament.regional} />}
<Text <Text
size="sm" size="sm"
fw={homeWon ? 700 : 500} fw={homeWon ? 700 : 500}
@@ -124,7 +124,7 @@ const GroupMatchCard: React.FC<GroupMatchCardProps> = ({ match, showControls })
<Group justify="space-between" align="center" wrap="nowrap"> <Group justify="space-between" align="center" wrap="nowrap">
<Group gap="sm" style={{ flex: 1, minWidth: 0 }}> <Group gap="sm" style={{ flex: 1, minWidth: 0 }}>
<TeamAvatar team={match.away} size={32} radius="sm" isRegional={match.tournament.regional} /> {match.away && <TeamAvatar team={match.away} size={32} radius="sm" isRegional={match.tournament.regional} />}
<Text <Text
size="sm" size="sm"
fw={awayWon ? 700 : 500} fw={awayWon ? 700 : 500}
@@ -190,7 +190,7 @@ const GroupMatchCard: React.FC<GroupMatchCardProps> = ({ match, showControls })
<MatchForm <MatchForm
match={match} match={match}
onSubmit={handleFormSubmit} onSubmit={handleFormSubmit}
isPending={end.isPending} onCancel={editSheet.close}
/> />
</Sheet> </Sheet>
)} )}

View File

@@ -116,7 +116,7 @@ function generateDescription(config: Partial<GroupConfigOption>): string {
let desc = ''; let desc = '';
if (groups_with_extra && groups_with_extra > 0) { if (groups_with_extra && groups_with_extra > 0 && teams_per_group) {
const largerGroupSize = teams_per_group + 1; const largerGroupSize = teams_per_group + 1;
const smallerGroupCount = num_groups! - groups_with_extra; const smallerGroupCount = num_groups! - groups_with_extra;