Skip to content

Commit

Permalink
fix: missing feed caused by parsing domain error
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 11, 2024
1 parent 78053c1 commit 1385876
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/src/store/subscription/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ function morphResponseData(data: SubscriptionModel[]): SubscriptionFlatModel[] {

if (parsed.domain) {
cloned.defaultCategory = capitalizeFirstLetter(parsed.domain)
} else {
cloned.defaultCategory = subscription.feedId
}
}
}
Expand Down

0 comments on commit 1385876

Please sign in to comment.