diff --git a/js/desktop/src/features/attachments/attachment-lightbox.tsx b/js/desktop/src/features/attachments/attachment-lightbox.tsx index c851c90..85a57bc 100644 --- a/js/desktop/src/features/attachments/attachment-lightbox.tsx +++ b/js/desktop/src/features/attachments/attachment-lightbox.tsx @@ -63,8 +63,7 @@ export function AttachmentLightbox({ : null; const isOpen = current !== null; const hasMultiple = items.length > 1; - // 1-based position for the "x / N" counter; null when nothing is open. - const position = openIndex !== null ? openIndex + 1 : null; + const positionIndicator = openIndex !== null ? openIndex + 1 : null; // Remote items resolve through the signed-URL cache; disabled when not remote. const remoteObjectId = @@ -193,7 +192,7 @@ export function AttachmentLightbox({ )} {hasMultiple && ( - {position} / {items.length} + {positionIndicator} / {items.length} )}