Show "(max)" on streak payout if it is the max payout
This commit is contained in:
parent
b1ccee73fd
commit
31db330319
|
@ -400,7 +400,8 @@ function IncomeNotificationItem(props: {
|
||||||
} else if (sourceType === 'tip') {
|
} else if (sourceType === 'tip') {
|
||||||
reasonText = !simple ? `tipped you on` : `in tips on`
|
reasonText = !simple ? `tipped you on` : `in tips on`
|
||||||
} else if (sourceType === 'betting_streak_bonus') {
|
} else if (sourceType === 'betting_streak_bonus') {
|
||||||
reasonText = 'for your'
|
if (sourceText && +sourceText === 50) reasonText = '(max) for your'
|
||||||
|
else reasonText = 'for your'
|
||||||
} else if (sourceType === 'loan' && sourceText) {
|
} else if (sourceType === 'loan' && sourceText) {
|
||||||
reasonText = `of your invested bets returned as a`
|
reasonText = `of your invested bets returned as a`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user