Skip to content

Commit

Permalink
fix(account): filter presets not being displayed correctly
Browse files Browse the repository at this point in the history
Closes #4612
  • Loading branch information
Miodec committed Sep 13, 2023
1 parent 5dfa95e commit f5e29bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/ts/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit f5e29bd

Please sign in to comment.