From e08c1b9a1c5490ab23362d3b34ca09ead92ab739 Mon Sep 17 00:00:00 2001 From: Pandipipas <62224708+Pandipipas@users.noreply.github.com> Date: Wed, 11 Feb 2026 01:34:08 +0100 Subject: [PATCH] =?UTF-8?q?Fixear=20visualizaci=C3=B3n=20de=20nombre=20cus?= =?UTF-8?q?tom=20en=20selector=20de=20jugador?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dashboard/example/components/ScoreboardPanel.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/dashboard/example/components/ScoreboardPanel.vue b/src/dashboard/example/components/ScoreboardPanel.vue index ffe0b1e..8672870 100644 --- a/src/dashboard/example/components/ScoreboardPanel.vue +++ b/src/dashboard/example/components/ScoreboardPanel.vue @@ -8,6 +8,9 @@ import { useScoreboardStore } from '../stores/scoreboard'; const playersStore = usePlayersStore(); const scoreboardStore = useScoreboardStore(); +const CUSTOM_LEFT_PLAYER_ID = '__custom_left_player__'; +const CUSTOM_RIGHT_PLAYER_ID = '__custom_right_player__'; + const leftFilter = ref(''); const rightFilter = ref(''); const leftInput = ref(''); @@ -137,13 +140,13 @@ const rightPlayerOptions = computed(() => filterOptions(playerOptions.value, rig const startLeftCustomPlayer = () => { - scoreboardStore.scoreboard.leftPlayerId = ''; + scoreboardStore.scoreboard.leftPlayerId = CUSTOM_LEFT_PLAYER_ID; scoreboardStore.scoreboard.leftTeamOverride = ''; scoreboardStore.scoreboard.leftCountryOverride = ''; }; const startRightCustomPlayer = () => { - scoreboardStore.scoreboard.rightPlayerId = ''; + scoreboardStore.scoreboard.rightPlayerId = CUSTOM_RIGHT_PLAYER_ID; scoreboardStore.scoreboard.rightTeamOverride = ''; scoreboardStore.scoreboard.rightCountryOverride = ''; };