Skip to content

Commit

Permalink
Show wins in sidebar 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 918adf2 commit abe835e
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 @@ -53,7 +53,7 @@ const showRank = computed(() => true)
const showExpander = computed(() => !props.isPinned)
const showName = computed(() => true)
const showPlayed = computed(() => props.isInProgress && !props.isPinned)
const showWins = computed(() => !props.isPinned)
const showWins = computed(() => !props.isPinned || isWinnerStaysOn.value)
const showDraws = computed(() => fixturesCanBeDrawn.value && !props.isPinned)
const showLosses = computed(() => !isWinnerStaysOn.value && !props.isPinned)
const showRunouts = computed(() => usesRunouts.value && (isNotSmallScreen.value || isWinnerStaysOn.value) && !props.isPinned)
Expand Down

0 comments on commit abe835e

Please sign in to comment.