Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): avoid 500 error and NaN when marking as read a deleted entry #3183

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

fguillot
Copy link
Member

Steps to reproduce:

  1. In /unread, open a feed's settings in a new tab. The feed must have unread entries in /unread.
  2. In the new tab/window, delete the feed.
  3. Without refreshing, mark an entry from the now-deleted feed as read.
  4. Result: The total unread count in the UI header switches to NaN.

Have you followed these guidelines?

Steps to reproduce:

1. In /unread, open a feed's settings in a new tab. The feed must have unread entries in /unread.
2. In the new tab/window, delete the feed.
3. Without refreshing, mark an entry from the now-deleted feed as read.
4. Result: The total unread count in the UI header switches to NaN.
@fguillot fguillot merged commit d7c504f into main Feb 27, 2025
9 checks passed
@fguillot fguillot deleted the fix_mark_as_read_deleted_feed branch February 27, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant