diff --git a/web/components/admin/NewsFeed.tsx b/web/components/admin/NewsFeed.tsx index 2d3114b9e..02202b44f 100644 --- a/web/components/admin/NewsFeed.tsx +++ b/web/components/admin/NewsFeed.tsx @@ -17,6 +17,7 @@ export type ArticleProps = { url: string; content_html: string; date_published: string; + defaultOpen?: boolean; }; const ArticleItem: FC = ({ @@ -24,12 +25,13 @@ const ArticleItem: FC = ({ url, content_html: content, date_published: date, + defaultOpen = false, }) => { const dateObject = new Date(date); const dateString = format(dateObject, 'MMM dd, yyyy, HH:mm'); return (
- +

{dateString} ( @@ -74,7 +76,7 @@ export const NewsFeed = () => { News & Updates from Owncast {loadingSpinner} {feed.map(item => ( - + ))} {noNews}