From 9ed42d86ad27deabaa3e2c1c5c083d27480f0acd Mon Sep 17 00:00:00 2001 From: Allan Joseph Date: Sat, 6 Jan 2024 16:58:12 +0530 Subject: [PATCH] Fix UltraBullet ratings not showing --- ui/chart/src/ratingHistory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/chart/src/ratingHistory.ts b/ui/chart/src/ratingHistory.ts index 6ee0c1d76801d..88e89e26e00b8 100644 --- a/ui/chart/src/ratingHistory.ts +++ b/ui/chart/src/ratingHistory.ts @@ -23,7 +23,7 @@ import dayOfYear from 'dayjs/plugin/dayOfYear'; interface Opts { data: PerfRatingHistory[]; singlePerfName?: string; - perfIndex: number; + perfIndex?: number; } type TsAndRating = { ts: number; rating: number }; @@ -59,7 +59,7 @@ const styles: ChartPerf[] = [ { color: '#FFAEAA', borderDash: [3], symbol: 'rectRot', name: 'RacingKings' }, { color: '#56B4E9', borderDash: [10], symbol: 'rectRounded', name: 'Crazyhouse' }, { color: '#0072B2', borderDash: [10], symbol: 'triangle', name: 'Puzzle' }, - { color: '#009E73', borderDash: [10], symbol: 'triangle', name: 'Ultrabullet' }, + { color: '#009E73', borderDash: [10], symbol: 'triangle', name: 'UltraBullet' }, ]; const oneDay = 24 * 60 * 60 * 1000;