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

10 months ago

Author

Noppakorn Kaewsalabnil

Subscribe to post

Get notified by email when there are changes.