From 543382c3e10bdda3628a71c807c6d5881e7aff9d Mon Sep 17 00:00:00 2001 From: seb Date: Tue, 6 Oct 2026 12:57:06 +0200 Subject: [PATCH] u --- src/components/chat/ChatAttachmentItems.jsx | 56 +++++++++++++++------ 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/src/components/chat/ChatAttachmentItems.jsx b/src/components/chat/ChatAttachmentItems.jsx index 4337460..cde6d91 100644 --- a/src/components/chat/ChatAttachmentItems.jsx +++ b/src/components/chat/ChatAttachmentItems.jsx @@ -449,26 +449,45 @@ export class VfsAttachmentLink extends PureComponent { - {(isDownloading || isOpening) && ( - - )} {!notFound && ( <> - + {isOpening ? ( + + ) : ( + + )} - + {isDownloading ? ( + + ) : ( + + )} )} @@ -546,22 +565,25 @@ export class VfsAttachmentLink extends PureComponent { }} onClick={(e) => e.stopPropagation()} > - {(isDownloading || isOpening) && ( - - )} {canView && ( - + {isOpening ? ( + + ) : ( + + )} )} - + {isDownloading ? ( + + ) : ( + + )} )}