зеркало из https://github.com/nextcloud/news.git
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:
Родитель
3de1c6efe1
Коммит
f4883bdb04
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче