fix: missing site url in feed selector

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2024-10-30 12:17:52 +08:00
parent 9b965462f8
commit ea677ac6a3
3 changed files with 3 additions and 0 deletions
@@ -46,6 +46,7 @@ export function ListItem({
title: feed.title,
url: (feed as any).url || "",
image: feed.image,
siteUrl: feed.siteUrl,
}
}) || entryPreview?.feeds
@@ -51,6 +51,7 @@ const FeedItemImpl = ({ view, feedId, className }: FeedItemProps) => {
errorMessage: feed.errorMessage,
url: feed.url,
image: feed.image,
siteUrl: feed.siteUrl,
}
})
@@ -68,6 +68,7 @@ const FallbackableImage = forwardRef<
type FeedIconFeed =
| (Pick<FeedModel, "ownerUserId" | "id" | "title" | "url" | "image"> & {
type: FeedOrListRespModel["type"]
siteUrl?: string
})
| FeedOrListRespModel