mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
fix(account): filter presets not being displayed correctly
Closes #4612
This commit is contained in:
parent
5dfa95e6e1
commit
f5e29bdebc
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ export async function initSnapshot(): Promise<
|
|||
snap.inboxUnreadSize = userData.inboxUnreadSize ?? 0;
|
||||
snap.streak = userData?.streak?.length ?? 0;
|
||||
snap.maxStreak = userData?.streak?.maxLength ?? 0;
|
||||
snap.filterPresets = userData.resultFilterPresets ?? [];
|
||||
|
||||
const hourOffset = userData?.streak?.hourOffset;
|
||||
snap.streakHourOffset =
|
||||
|
|
Loading…
Reference in a new issue