Display thumbnails for video attachments
This commit is contained in:
parent
47634acc3d
commit
a6e3d5cbae
2 changed files with 1 additions and 2 deletions
|
@ -71,7 +71,7 @@ export const AttachmentList = ({
|
|||
attachments.length > 1 ? onClickAttachment : undefined;
|
||||
|
||||
const imageUrl =
|
||||
isVideo && !attachment.screenshot ? BLANK_VIDEO_THUMBNAIL : url;
|
||||
url || (isVideo ? BLANK_VIDEO_THUMBNAIL : undefined);
|
||||
|
||||
return (
|
||||
<Image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue