diff --git a/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx b/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx index 7ede2d5ef8..64693af946 100644 --- a/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx +++ b/apps/admin-x-activitypub/src/components/feed/FeedItem.tsx @@ -55,7 +55,7 @@ export function renderFeedAttachment(object: ObjectProperties, layout: string) { } return ( -
+
{attachment.map((item, index) => ( {`attachment-${index}`} ))} @@ -67,10 +67,10 @@ export function renderFeedAttachment(object: ObjectProperties, layout: string) { case 'image/jpeg': case 'image/png': case 'image/gif': - return attachment; + return attachment; case 'video/mp4': case 'video/webm': - return
+ return
; @@ -164,9 +164,9 @@ const FeedItemStats: React.FC<{ }; return (
-
+
-
+
); }; @@ -261,7 +263,7 @@ const FeedItem: React.FC = ({actor, object, layout, type, comment const UserMenuTrigger = (
*/}
-
+
)} @@ -392,13 +400,16 @@ const FeedItem: React.FC = ({actor, object, layout, type, comment {object.name && {object.name}}
{renderFeedAttachment(object, layout)} - +
+ + +
{/* */} @@ -429,13 +440,16 @@ const FeedItem: React.FC = ({actor, object, layout, type, comment {renderInboxAttachment(object)} - +
+ + +