Fix preview for local collection links (#38793)

This commit is contained in:
diondiondion authored and GitHub committed 2026-04-23 11:47:31 +00:00
1 parent 478dae0ab3
commit d7b60a2cb6
4 files changed
+24 -4

No files matched your search

@@ -282,6 +282,13 @@ export const DetailedStatus: React.FC<{
/>
);
}
} else if (status.get('tagged_collections').size) {
const firstLinkedCollection = status.get('tagged_collections').first();
if (firstLinkedCollection) {
media = (
<CollectionPreviewCard collection={firstLinkedCollection.toJS()} />
);
}
}
if (status.get('application')) {