Füge Scrollsteuerung für Mannschaften-Untermenü hinzu und optimiere Importpfade
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { listSpielplanSeasons, readSpielplanData, validateSeasonSlug } from '../../utils/spielplan-data.js'
|
||||
import { formatTeamDisplayName } from '../../../utils/team-display.js'
|
||||
import { formatTeamDisplayName } from '~/utils/team-display.js'
|
||||
|
||||
function teamLabel(teamName, teamAgeGroup, competitionAgeGroup) {
|
||||
return formatTeamDisplayName(teamName, teamAgeGroup, competitionAgeGroup)
|
||||
|
||||
@@ -2,7 +2,7 @@ import fs from 'fs/promises'
|
||||
import path from 'path'
|
||||
import { readSpielplanData, validateSeasonSlug } from '../../utils/spielplan-data.js'
|
||||
import { info as loggerInfo, error as loggerError } from '../../utils/logger.js'
|
||||
import { filterSpielplanRows } from '../../../utils/spielplan-filter.js'
|
||||
import { filterSpielplanRows } from '~/utils/spielplan-filter.js'
|
||||
|
||||
function seasonSlugToLabel(slug) {
|
||||
const match = String(slug || '').match(/^(\d{2})--(\d{2})$/)
|
||||
|
||||
Reference in New Issue
Block a user