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: show error on folders only if at least one feed has more than eight errors #3073

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ You can also check [on GitHub](https://github.com/nextcloud/news/releases), the

# Unreleased
## [25.x.x]
### Changed

### Fixed
- Show error on folders only if at least one feed has more than eight errors

# Releases
## [25.0.0] - 2025-01-10
## [25.2.0] - 2025-01-10
### Changed
- add explanations for the individual values in the feed information table (#3031)
- show error message from `opml` import in web-ui (#3036)
Expand Down
4 changes: 3 additions & 1 deletion src/store/folder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ export const mutations = {
if (folder) {
folder.feeds.push(it)
folder.feedCount += it.unreadCount
folder.updateErrorCount += it.updateErrorCount
if (it.updateErrorCount > 8) {
folder.updateErrorCount += it.updateErrorCount
}
}
})
state.folders = updatedFolders
Expand Down