Skip to content

Commit

Permalink
Don't highlight incomplete rows in results table if it's winner stays on
Browse files Browse the repository at this point in the history
  • Loading branch information
phrasmotica committed Apr 27, 2024
1 parent abe835e commit 8fca2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/results/ResultsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const showTieBreakerIndex = (playerId: string) => {
const rowClass = (data: TableData) => [
{
'bg-primary': isFinished.value && !data.incomplete && data.rank === 1,
'incomplete-row': isFinished.value && data.incomplete,
'incomplete-row': isFinished.value && !isWinnerStaysOn.value && data.incomplete,
'tie-break-row': showTieBreakerIndex(data.playerId),
'tie-break-unresolved-row': inseparablePlayers.value.includes(data.playerId),
},
Expand Down

0 comments on commit 8fca2e7

Please sign in to comment.