This commit is contained in:
		
						commit
						01bb0d111e
					
				|  | @ -312,7 +312,7 @@ async function handleBettingStreakBadgeAward( | ||||||
|     user.achievements?.streaker?.badges.some( |     user.achievements?.streaker?.badges.some( | ||||||
|       (badge) => badge.data.totalBettingStreak === 1 |       (badge) => badge.data.totalBettingStreak === 1 | ||||||
|     ) |     ) | ||||||
| 
 |   // TODO: check if already awarded 50th streak as well
 | ||||||
|   if (newBettingStreak === 1 && alreadyHasBadgeForFirstStreak) return |   if (newBettingStreak === 1 && alreadyHasBadgeForFirstStreak) return | ||||||
| 
 | 
 | ||||||
|   if (newBettingStreak in streakerBadgeRarityThresholds) { |   if (newBettingStreak in streakerBadgeRarityThresholds) { | ||||||
|  |  | ||||||
|  | @ -131,7 +131,6 @@ export function NotificationSettings(props: { | ||||||
|       'betting_streaks', |       'betting_streaks', | ||||||
|       'referral_bonuses', |       'referral_bonuses', | ||||||
|       'unique_bettors_on_your_contract', |       'unique_bettors_on_your_contract', | ||||||
|       'badges_awarded', |  | ||||||
|     ], |     ], | ||||||
|   } |   } | ||||||
|   const otherBalances: SectionData = { |   const otherBalances: SectionData = { | ||||||
|  | @ -140,6 +139,7 @@ export function NotificationSettings(props: { | ||||||
|       'loan_income', |       'loan_income', | ||||||
|       'limit_order_fills', |       'limit_order_fills', | ||||||
|       'tips_on_your_comments', |       'tips_on_your_comments', | ||||||
|  |       'badges_awarded', | ||||||
|     ], |     ], | ||||||
|   } |   } | ||||||
|   const userInteractions: SectionData = { |   const userInteractions: SectionData = { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user