From d76b16aae1f53ecc77473e412fa50cc8ab80e843 Mon Sep 17 00:00:00 2001 From: trevor-signal <131492920+trevor-signal@users.noreply.github.com> Date: Wed, 24 Sep 2025 15:39:27 -0400 Subject: [PATCH] Fix lightbox mock tests --- ts/components/conversation/Image.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/conversation/Image.tsx b/ts/components/conversation/Image.tsx index 482e63eb2a..aad91126cd 100644 --- a/ts/components/conversation/Image.tsx +++ b/ts/components/conversation/Image.tsx @@ -230,7 +230,7 @@ export function Image({ className={classNames( 'module-image', className, - attachment.path ? 'module-image--loaded' : null, + attachment.url ? 'module-image--loaded' : null, !noBackground ? 'module-image--with-background' : null, cropWidth || cropHeight ? 'module-image--cropped' : null )}