fix: show error on folders only if at least one feed has more than eight errors

Signed-off-by: Wolfgang <github@linux-dude.de>
This commit is contained in:
Wolfgang 2025-01-28 20:14:40 +01:00
Родитель 3de1c6efe1
Коммит f4883bdb04
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

@ -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