Skip to main content

Error when filtering ?category=Unread with no unread emails

When filtering emails with ?category=Unread and there are no unread emails, the page crashes with the following error:

TypeError: Cannot read properties of undefined (reading 'id')

Instead of throwing an error, it should gracefully handle the case where there are no unread emails (e.g., display an empty state).

Status: Completed

Log in to comment and vote

No comments yet

Be the first to share your thoughts.