fix: clarify multi-document downloads
This commit is contained in:
@@ -9,6 +9,7 @@ import { VideoBubble } from "./bubbles/VideoBubble";
|
||||
import { LinkPreviewCard } from "./LinkPreviewCard";
|
||||
import { formatDateTime } from "./utils/formatTime";
|
||||
import { FavoriteButton } from "../../favorites/FavoriteButton";
|
||||
import { BubbleAttachmentDownloadButton } from "./BubbleAttachmentDownloadButton";
|
||||
|
||||
export type MessageBubbleVariant = "default" | "latest";
|
||||
|
||||
@@ -106,6 +107,12 @@ export function MessageBubble({
|
||||
onFavoriteChange?.(post.id, favorited)
|
||||
}
|
||||
/>
|
||||
{isFileBubble && post.attachments.length === 1 ? (
|
||||
<BubbleAttachmentDownloadButton
|
||||
postId={post.id}
|
||||
attachment={post.attachments[0]}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user