Skip to content

Commit

Permalink
Fix bug in score card player name colour
Browse files Browse the repository at this point in the history
  • Loading branch information
phrasmotica committed Apr 27, 2024
1 parent 8c7a158 commit 4270699
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/play/ScoreCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const {
const {
isWinnerStaysOn,
isRandomDraw,
} = usePhaseSpecification(currentPhase.value)
watch(props, () => {
Expand Down Expand Up @@ -102,12 +101,14 @@ const playerNameClass = computed(() => {
let c = ""
if (score.value.playerId) {
c += 'text-color'
if (fixture.value?.breakerId === score.value.playerId) {
c += " underline"
}
}
else {
c += 'text-gray-400 font-italic'
c += 'font-italic'
}
if (winner.value) {
Expand Down

0 comments on commit 4270699

Please sign in to comment.