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).

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🐛

Report a Bug

Date

Over 1 year ago

Author

Noppakorn Kaewsalabnil

Subscribe to request

Get notified by email when there are changes.