Merge pull request #4044 from RSSNext/sync/main-to-dev-20250630

Sync main branch to dev branch
This commit is contained in:
Innei 2025-07-01 13:52:48 +08:00 committed by GitHub
commit 5375458495
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ const groupSubscriptions = (
delete groupFolder[UN_CATEGORIZED]
Reflect.defineProperty(groupFolder, UN_CATEGORIZED, {
value: temp?.sort((a, b) => sortByAlphabet(a.title!, b.title!)) || [],
value:
temp?.sort((a, b) => (a.title && b.title ? sortByAlphabet(a.title, b.title) : 0)) || [],
writable: true,
configurable: true,
enumerable: true,