diff --git a/src/dashboard/scoreko-dev/components/ScoreboardPanel.vue b/src/dashboard/scoreko-dev/components/ScoreboardPanel.vue index b3cfd0e..390fe55 100644 --- a/src/dashboard/scoreko-dev/components/ScoreboardPanel.vue +++ b/src/dashboard/scoreko-dev/components/ScoreboardPanel.vue @@ -33,8 +33,12 @@ const rightCharacterInput = ref(''); const gameInput = ref(''); const charactersByGame = ref>({}); +const gameTitleBySlug = computed(() => new Map( + gameAssetsStore.availableGames.map((game) => [game.slug, game.title] as const), +)); + const allFightingGameOptions = computed(() => gameAssetsStore.installedGames.map((game) => ({ - label: game, + label: gameTitleBySlug.value.get(game) ?? game, value: game, })));